summaryrefslogtreecommitdiff
path: root/src/demos/multiarb.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/demos/multiarb.c')
-rw-r--r--src/demos/multiarb.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/demos/multiarb.c b/src/demos/multiarb.c
index b9191742..cf8b9b2d 100644
--- a/src/demos/multiarb.c
+++ b/src/demos/multiarb.c
@@ -14,7 +14,7 @@
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
-#include <glad/glad.h>
+#include "glad/gl.h"
#include "glut_wrap.h"
#include "readtex.h"
@@ -342,7 +342,7 @@ int main( int argc, char *argv[] )
glutInit( &argc, argv );
glutInitDisplayMode( GLUT_RGB | GLUT_DOUBLE );
glutCreateWindow(argv[0] );
- gladLoadGL();
+ gladLoaderLoadGL();
Init( argc, argv );
@@ -365,5 +365,6 @@ int main( int argc, char *argv[] )
glutAttachMenu(GLUT_RIGHT_BUTTON);
glutMainLoop();
+ gladLoaderUnloadGL();
return 0;
}