glfw: GPU driver info

pull/1900/head
Alexander Medvednikov 2019-09-08 15:54:07 +03:00
parent 2644b9a5e0
commit dcc42c858b
1 changed files with 1 additions and 1 deletions

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)