We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f4d9ec7 commit 90d776dCopy full SHA for 90d776d
core/src/test/kotlin/tests/Cursor.kt
@@ -1,4 +1,4 @@
1
-@file:OptIn(ExperimentalUnsignedTypes::class)
+@file:OptIn(ExperimentalUnsignedTypes::class, ExperimentalUnsignedTypes::class)
2
3
package tests
4
@@ -13,7 +13,9 @@ import gln.draw.glDrawArrays
13
import kool.floatBufferOf
14
import kool.free
15
import org.lwjgl.glfw.GLFW
16
+import org.lwjgl.opengl.GL11
17
import uno.glfw.*
18
+import java.awt.Color
19
import kotlin.math.abs
20
import kotlin.math.floor
21
import kotlin.math.sqrt
@@ -295,7 +297,8 @@ fun main() {
295
297
296
298
while (!window.shouldClose) {
299
- glClearColor()
300
+ glClearColor(Color.BLACK)
301
+ GL11.glClear(GL11.GL_COLOR_BUFFER_BIT)
302
303
if (trackCursor) {
304
0 commit comments