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:
parent
7b4c3ec618
commit
d69bac5565
@ -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) ;
|
||||||
|
Loading…
Reference in New Issue
Block a user