Changes to compile

This commit is contained in:
peter.selby@bytedance.com 2023-12-28 08:57:54 -06:00
parent e8a17566dd
commit f12e0d16cb
2 changed files with 3 additions and 2 deletions

View File

@ -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 {

View File

@ -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))