glfw: fix typo

pull/1286/head
Jonathan Vice 2019-07-23 18:11:06 +02:00 committed by Alexander Medvednikov
parent 7b4c3ec618
commit d69bac5565
1 changed files with 1 additions and 1 deletions

View File

@ -164,7 +164,7 @@ pub fn create_window(c WinCfg) *Window {
} }
cwindow := C.glfwCreateWindow(c.width, c.height, c.title.str, 0, 0) cwindow := C.glfwCreateWindow(c.width, c.height, c.title.str, 0, 0)
if isnil(cwindow) { if isnil(cwindow) {
println('failed to credate glfw window') println('failed to create glfw window')
C.glfwTerminate() C.glfwTerminate()
} }
// # glfwSetCursorPosCallback(cwindow, glfw__mouse_move) ; // # glfwSetCursorPosCallback(cwindow, glfw__mouse_move) ;