Changed shading model to flat.

This commit is contained in:
Maciej Suminski 2016-05-02 16:12:15 +02:00
parent 52c698ab11
commit b32fdd97d9
1 changed files with 2 additions and 0 deletions

View File

@ -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 );