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

glfw: printf -> println

This commit is contained in:
vitalyster 2019-09-16 21:07:34 +03:00 committed by Alexander Medvednikov
parent 4462404151
commit f7a0fefe27

View File

@ -115,7 +115,7 @@ pub fn create_window(c WinCfg) &Window {
println('failed to create a glfw window, make sure you have a GPU driver installed') println('failed to create a glfw window, make sure you have a GPU driver installed')
C.glfwTerminate() C.glfwTerminate()
} }
C.printf('create window wnd=%p ptr==%p\n', cwindow, c.ptr) println('create window wnd=$cwindow ptr==$c.ptr')
C.glfwSetWindowUserPointer(cwindow, c.ptr) C.glfwSetWindowUserPointer(cwindow, c.ptr)
window := &Window { window := &Window {
data: cwindow, data: cwindow,