Skip to content

Commit cb322e9

Browse files
committed
up
1 parent bf6eeb2 commit cb322e9

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ dependencies {
3434

3535
testCompile 'io.kotlintest:kotlintest:2.0.7'
3636

37-
compile 'com.github.kotlin-graphics:gln:f797d70bb8def0b961fb75f35816b2a23843f1a2'
37+
compile 'com.github.kotlin-graphics:gln:56d28702f4b3fe318b31bba9ed72650bbecb4739'
3838

3939
compile "org.jetbrains.kotlin:kotlin-reflect:$kotlinVersion"
4040

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

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,13 @@ typealias CharCallbackT = (Int) -> Unit
2525

2626
class GlfwWindow(val handle: Long) {
2727

28+
private val x = intBufferBig(1)
29+
private val y = intBufferBig(1)
30+
private val z = intBufferBig(1)
31+
private val w = intBufferBig(1)
32+
private val xD = doubleBufferBig(1)
33+
private val yD = doubleBufferBig(1)
34+
2835
constructor(windowSize: Vec2i, title: String) : this(windowSize.x, windowSize.y, title)
2936
constructor(x: Int, title: String) : this(x, x, title)
3037
constructor(width: Int, height: Int, title: String) : this(glfwCreateWindow(width, height, title, 0L, 0L)) {
@@ -300,11 +307,4 @@ class GlfwWindow(val handle: Long) {
300307
inline fun loop(block: () -> Unit) {
301308
while (isOpen) block()
302309
}
303-
304-
private val x = intBufferBig(1)
305-
private val y = intBufferBig(1)
306-
private val z = intBufferBig(1)
307-
private val w = intBufferBig(1)
308-
private val xD = doubleBufferBig(1)
309-
private val yD = doubleBufferBig(1)
310310
}

0 commit comments

Comments
 (0)