Skip to content

Commit 35ccb23

Browse files
committed
up
1 parent fc3bf3f commit 35ccb23

File tree

4 files changed

+25
-26
lines changed

4 files changed

+25
-26
lines changed

.idea/codeStyles/codeStyleConfig.xml

Lines changed: 5 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/inspectionProfiles/Project_Default.xml

Lines changed: 8 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

core/src/test/kotlin/uno/bug.kt

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
package uno
2+
3+
import uno.glfw.GlfwWindow
4+
import uno.glfw.glfw
5+
6+
fun main() {
7+
// init
8+
glfw.init("3.3")
9+
10+
// The window handle
11+
val glfwWindow = GlfwWindow(1280, 720, "ImGui Lwjgl OpenGL3 example")
12+
}

core/src/test/kotlin/uno/helloWorld.kt

Lines changed: 0 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -45,30 +45,4 @@ class HelloWorld : StringSpec() {
4545
}
4646
}
4747
}
48-
}
49-
50-
fun main() {
51-
// init
52-
glfw.init("3.3")
53-
54-
55-
// Setup an error callback. The default implementation
56-
// will print the error message in System.err.
57-
GLFWErrorCallback.createPrint(System.err).set()
58-
59-
// The window handle
60-
val glfwWindow = GlfwWindow(1280, 720, "ImGui Lwjgl OpenGL3 example")
61-
// GlWindow(glfwWindow).apply {
62-
//
63-
// pos = (glfw.primaryMonitor.videoMode.size - size) / 2
64-
//
65-
// init()
66-
//
67-
// // Set the clear color
68-
// glClearColor(1f, 0f, 0f, 0f)
69-
//
70-
// loop({ glfw.time < 1 }) {
71-
// glClear(GL_COLOR_BUFFER_BIT)
72-
// }
73-
// }
7448
}

0 commit comments

Comments
 (0)