1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00
v/gl/gl_win.v
Alexander Medvednikov f831fd62f2 gl module
2019-06-22 21:25:44 +02:00

13 lines
240 B
Go

module gl
fn init_glad() {
println('init_glad() win')
ok := false
# ok= gladLoadGLLoader((GLADloadproc) glfwGetProcAddress);
if !ok {
os.exit('Failed to initialize glad OpenGL context')
}
# printf("glClear ADDR=%p\n", glClear);
}