mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
glfw, freetype: remove the display of general information
This commit is contained in:
parent
69f256b900
commit
3f67ba08b1
@ -131,7 +131,7 @@ pub fn create_window(c WinCfg) &glfw.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()
|
||||||
}
|
}
|
||||||
println('create window wnd=$cwindow ptr==$c.ptr')
|
// println('create window wnd=$cwindow ptr==$c.ptr')
|
||||||
C.glfwSetWindowUserPointer(cwindow, c.ptr)
|
C.glfwSetWindowUserPointer(cwindow, c.ptr)
|
||||||
window := &glfw.Window {
|
window := &glfw.Window {
|
||||||
data: cwindow,
|
data: cwindow,
|
||||||
@ -305,4 +305,3 @@ pub fn (size Size) str() string {
|
|||||||
pub fn get_window_user_pointer(gwnd voidptr) voidptr {
|
pub fn get_window_user_pointer(gwnd voidptr) voidptr {
|
||||||
return C.glfwGetWindowUserPointer(gwnd)
|
return C.glfwGetWindowUserPointer(gwnd)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user