mirror of
https://github.com/isledecomp/isle-portable.git
synced 2025-09-27 14:42:51 -04:00
Fix OpenGL rendering (#262)
This commit is contained in:
parent
4cd0385c38
commit
f3a4d8fcb5
@ -335,6 +335,8 @@ void OpenGL15Renderer::SubmitDraw(
|
|||||||
|
|
||||||
if (appearance.flat) {
|
if (appearance.flat) {
|
||||||
glShadeModel(GL_FLAT);
|
glShadeModel(GL_FLAT);
|
||||||
|
} else {
|
||||||
|
glShadeModel(GL_SMOOTH);
|
||||||
}
|
}
|
||||||
|
|
||||||
float shininess = appearance.shininess;
|
float shininess = appearance.shininess;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user