mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
13 lines
240 B
Go
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);
|
|
}
|
|
|