summaryrefslogtreecommitdiff
path: root/lesson01/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lesson01/main.cpp')
-rw-r--r--lesson01/main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lesson01/main.cpp b/lesson01/main.cpp
index 7c4b925..a2d78de 100644
--- a/lesson01/main.cpp
+++ b/lesson01/main.cpp
@@ -114,7 +114,7 @@ int main()
);
glEnableVertexAttribArray(1);
- #ifdef WIREFRAME
+ #if WIREFRAME == 1
glPolygonMode(GL_FRONT_AND_BACK, GL_LINE);
#endif