mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
glfw: GPU driver info
This commit is contained in:
parent
2644b9a5e0
commit
dcc42c858b
@ -112,7 +112,7 @@ pub fn create_window(c WinCfg) &Window {
|
||||
}
|
||||
cwindow := C.glfwCreateWindow(c.width, c.height, c.title.str, 0, 0)
|
||||
if isnil(cwindow) {
|
||||
println('failed to create glfw 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)
|
||||
|
Loading…
Reference in New Issue
Block a user