From f12e0d16cb71e99dd4971f7fc6bd0266de2a4c24 Mon Sep 17 00:00:00 2001 From: "peter.selby@bytedance.com" Date: Thu, 28 Dec 2023 08:57:54 -0600 Subject: [PATCH] Changes to compile --- deps.edn | 1 + src/ois/core.clj | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) 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))