Changed shading model to flat.
This commit is contained in:
parent
52c698ab11
commit
b32fdd97d9
|
@ -183,6 +183,8 @@ void OPENGL_GAL::BeginDrawing()
|
||||||
// Disable 2D Textures
|
// Disable 2D Textures
|
||||||
glDisable( GL_TEXTURE_2D );
|
glDisable( GL_TEXTURE_2D );
|
||||||
|
|
||||||
|
glShadeModel( GL_FLAT );
|
||||||
|
|
||||||
// Enable the depth buffer
|
// Enable the depth buffer
|
||||||
glEnable( GL_DEPTH_TEST );
|
glEnable( GL_DEPTH_TEST );
|
||||||
glDepthFunc( GL_LESS );
|
glDepthFunc( GL_LESS );
|
||||||
|
|
Loading…
Reference in New Issue