summaryrefslogtreecommitdiff
path: root/src/tests/multipal.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/tests/multipal.c')
-rw-r--r--src/tests/multipal.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/tests/multipal.c b/src/tests/multipal.c
index 822c36e6..43d7cee5 100644
--- a/src/tests/multipal.c
+++ b/src/tests/multipal.c
@@ -13,7 +13,7 @@
#include <windows.h>
#endif
#define GL_GLEXT_LEGACY
-#include <glad/glad.h>
+#include "glad/gl.h"
#include "glut_wrap.h"
#include "../util/readtex.c" /* I know, this is a hack. */
@@ -351,7 +351,7 @@ int main( int argc, char *argv[] )
glutInitWindowPosition( 0, 0 );
glutInitDisplayMode( GLUT_RGB | GLUT_DOUBLE );
glutCreateWindow(argv[0] );
- gladLoadGL();
+ gladLoaderLoadGL();
Init( argc, argv );
@@ -370,5 +370,6 @@ int main( int argc, char *argv[] )
glutAttachMenu(GLUT_RIGHT_BUTTON);
glutMainLoop();
+ gladLoaderUnloadGL();
return 0;
}