mirror of
https://github.com/isledecomp/isle-portable.git
synced 2026-02-03 12:31:15 +00:00
Fix OpenGL rendering
This commit is contained in:
parent
4cd0385c38
commit
6e42143702
@ -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…
Reference in New Issue
Block a user