1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00

glfw: fix typo

This commit is contained in:
Jonathan Vice 2019-07-23 18:11:06 +02:00 committed by Alexander Medvednikov
parent 7b4c3ec618
commit d69bac5565

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) ;