mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
remove gl_lin.v
This commit is contained in:
parent
f5be084819
commit
27d34c600d
14
gl/gl_lin.v
14
gl/gl_lin.v
@ -1,14 +0,0 @@
|
|||||||
module gl
|
|
||||||
|
|
||||||
#include "glad.h"
|
|
||||||
#include "glad.c"
|
|
||||||
fn init_glad() {
|
|
||||||
println('init_glad() win')
|
|
||||||
// # ok= gladLoadGLLoader((GLADloadproc) glfwGetProcAddress);
|
|
||||||
ok := C.gladLoadGL()
|
|
||||||
if !ok {
|
|
||||||
os.exit('Failed to initialize glad OpenGL context')
|
|
||||||
}
|
|
||||||
// C.printf("initglad test: glClear ADDR=%p\n', glClear);
|
|
||||||
}
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user