summaryrefslogtreecommitdiff
path: root/lesson01/main.cpp
diff options
context:
space:
mode:
authorvisil <workregor@mail.ru>2023-10-11 23:30:56 +0300
committervisil <workregor@mail.ru>2023-10-11 23:30:56 +0300
commita350f65bd8cc4ee74ef8586036397d63eb622737 (patch)
tree41e6d8da5b4d8ea96e6edce4f4379a89a909f8be /lesson01/main.cpp
parent32ea01632523fef820e28839ef814bf561f28e50 (diff)
Добавил опцию сборки WIREFRAME; упражнение с переворачиванием фигуры в шейдереHEADmaster
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