diff --git a/deps.edn b/deps.edn index bd5f038..dc91f16 100644 --- a/deps.edn +++ b/deps.edn @@ -6,6 +6,7 @@ org.lwjgl/lwjgl { :mvn/version "3.3.3" } org.lwjgl/lwjgl-glfw { :mvn/version "3.3.3" } org.lwjgl/lwjgl-opengl { :mvn/version "3.3.3" } + nrepl/nrepl { :mvn/version "0.4.0" } } :aliases { :build { diff --git a/src/ois/core.clj b/src/ois/core.clj index f9acf15..7c36a3c 100644 --- a/src/ois/core.clj +++ b/src/ois/core.clj @@ -75,7 +75,7 @@ (defn draw [] (GL33/glClearColor 1.0 0.0 0.0 0.0) (GL33/glClear (bit-or GL33/GL_COLOR_BUFFER_BIT - GL33/GL33/GL_DEPTH_BUFFER_BIT)) + GL33/GL_DEPTH_BUFFER_BIT)) - (GLFW/glfwSwapBuffers windows) + (GLFW/glfwSwapBuffers window) (GLFW/glfwPollEvents))