1
0
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:
Alexander Medvednikov 2019-09-08 15:54:07 +03:00
parent 2644b9a5e0
commit dcc42c858b

View File

@ -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)