mirror of
https://gitlab.com/kicad/code/kicad.git
synced 2025-09-14 02:03:12 +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
|
||||
glDisable( GL_TEXTURE_2D );
|
||||
|
||||
glShadeModel( GL_FLAT );
|
||||
|
||||
// Enable the depth buffer
|
||||
glEnable( GL_DEPTH_TEST );
|
||||
glDepthFunc( GL_LESS );
|
||||
|
Loading…
x
Reference in New Issue
Block a user