Selaa lähdekoodia

Disabled cullface, depthbuffer in GraphicsDriver.

Mark Sibly 9 vuotta sitten
vanhempi
commit
9a06127e4f
1 muutettua tiedostoa jossa 2 lisäystä ja 0 poistoa
  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