Browse Source

Disabled cullface, depthbuffer in GraphicsDriver.

Mark Sibly 9 years ago
parent
commit
9a06127e4f
1 changed files with 2 additions and 0 deletions
  1. 2 0
      modules/mojo/graphics/device.monkey2

+ 2 - 0
modules/mojo/graphics/device.monkey2

@@ -259,6 +259,8 @@ Class GraphicsDevice
 	Const BYTES_PER_VERTEX:=28
 	
 	Function InitGLState()
+		glDisable( GL_CULL_FACE )
+		glDisable( GL_DEPTH_TEST )
 		glGetIntegerv( GL_FRAMEBUFFER_BINDING,Varptr _defaultFbo )
 	End