mirror of
https://gitlab.com/kicad/code/kicad.git
synced 2025-09-14 10:13:19 +02:00
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…
x
Reference in New Issue
Block a user