diff options
Diffstat (limited to 'src/trivial/lineloop-elts.c')
-rw-r--r-- | src/trivial/lineloop-elts.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/trivial/lineloop-elts.c b/src/trivial/lineloop-elts.c index 2f524e05..e5919f65 100644 --- a/src/trivial/lineloop-elts.c +++ b/src/trivial/lineloop-elts.c @@ -5,7 +5,7 @@ #include <stdio.h> #include <stdlib.h> #include <math.h> -#include <GL/glew.h> +#include <glad/glad.h> #include "glut_wrap.h" GLfloat verts[][4] = { @@ -111,7 +111,7 @@ int main( int argc, char *argv[] ) glutInitWindowSize( 250, 250 ); glutInitDisplayMode( GLUT_RGB | GLUT_SINGLE | GLUT_DEPTH ); glutCreateWindow(argv[0]); - glewInit(); + gladLoadGL(); glutReshapeFunc( Reshape ); glutKeyboardFunc( Key ); glutDisplayFunc( Display ); |