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:
parent
4462404151
commit
f7a0fefe27
@ -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,
|
||||||
|
Loading…
Reference in New Issue
Block a user