Skip to content

Commit

Permalink
+
Browse files Browse the repository at this point in the history
  • Loading branch information
SeriousSamV committed Feb 27, 2017
1 parent 881be57 commit 93b0afc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions 15/depth_testing_example_app.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -155,9 +155,9 @@ class DepthTestingApp : public mylib::App
static_cast<GLfloat>(window.width) / window.height,
0.1f, 100.0f);

if (glfwGetKey(window.getWindow(), GLFW_KEY_V) == GLFW_PRESS)
if (glfwGetKey(window.getWindow(), GLFW_KEY_1) == GLFW_PRESS)
option = 1;
else if (glfwGetKey(window.getWindow(), GLFW_KEY_B) == GLFW_PRESS)
else if (glfwGetKey(window.getWindow(), GLFW_KEY_2) == GLFW_PRESS)
option = 2;

switch (option)
Expand Down

0 comments on commit 93b0afc

Please sign in to comment.