glfw: printf -> println

pull/2001/head
vitalyster 2019-09-16 21:07:34 +03:00 committed by Alexander Medvednikov
parent 4462404151
commit f7a0fefe27
1 changed files with 1 additions and 1 deletions

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')
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)
window := &Window {
data: cwindow,