浏览代码

No longer require flag.

Brucey 3 年之前
父节点
当前提交
85d1d70742
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      d3d9sdlgraphics.mod/d3d9sdlgraphics.bmx

+ 1 - 1
d3d9sdlgraphics.mod/d3d9sdlgraphics.bmx

@@ -164,7 +164,7 @@ Type TD3D9SDLGraphics Extends TGraphics
 	Method Create:TD3D9SDLGraphics( width:Int,height:Int,depth:Int,hertz:Int,flags:Long,x:Int,y:Int)
 	
 		
-		_g = SDLGraphicsDriver().CreateGraphics( width, height, depth, hertz, flags | GRAPHICS_WIN32_DX, x, y )
+		_g = SDLGraphicsDriver().CreateGraphics( width, height, depth, hertz, flags, x, y )
 		
 		_hwnd = _g._context.window.GetHandle()