Skip to content

Commit 2522cda

Browse files
committed
⬆️ gln
1 parent de896f7 commit 2522cda

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ ext{
1616
kotlin = 'org.jetbrains.kotlin:kotlin'
1717
kotlin_version = '1.3.11'
1818
kotlintest_version = '3.1.11'
19-
gln_version = '3b7cf8ce46eaf0e4eef76c7283eab1aacca6d4c4'
19+
gln_version = '36343c73efc021fc6edd96bc01103c1566bd09a8'
2020
vkk_version = 'a0d037b48e'
2121
lwjgl_version = "3.2.1"
2222
lwjgl_natives = current() == WINDOWS ? "windows" : current() == LINUX ? "linux" : "macos"

src/main/kotlin/uno/glfw/GlfwWindow.kt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ import gln.cap.Caps
1212
import gln.debug.GlDebugSeverity
1313
import gln.debug.GlDebugSource
1414
import gln.debug.GlDebugType
15+
import kool.Adr
1516
import kool.stak
1617
import org.lwjgl.glfw.*
1718
import org.lwjgl.glfw.GLFW.*
@@ -281,6 +282,9 @@ open class GlfwWindow(var handle: GlfwWindowHandle) {
281282
}
282283
set(value) = glfwSetCursorPos(handle.L, value.x, value.y)
283284

285+
// var userPointer: Adr
286+
// get() = glfwGetWindowUserPointer(handle.L)
287+
// set(value) = glfwSetWindowUserPointer(handle.L, value)
284288

285289
// ------------------- Callbacks -------------------
286290

0 commit comments

Comments
 (0)