mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-07-18 03:09:18 +02:00
GLES support
This commit is contained in:
@@ -700,14 +700,7 @@ driver_mode::OnKeyDown(int cKey) {
|
||||
}
|
||||
else {
|
||||
// f7: wireframe toggle
|
||||
// TODO: pass this to renderer instead of making direct calls
|
||||
Global.bWireFrame = !Global.bWireFrame;
|
||||
if( true == Global.bWireFrame ) {
|
||||
glPolygonMode( GL_FRONT_AND_BACK, GL_LINE );
|
||||
}
|
||||
else {
|
||||
glPolygonMode( GL_FRONT_AND_BACK, GL_FILL );
|
||||
}
|
||||
}
|
||||
}
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user