=== modified file 'makefile'
@@ -1,2 +1,2 @@
all:
- g++ *.cpp -o glmark -Wall -lSDL -lGL -lGLU -lGLEW
+ g++ *.cpp -o glmark -Wall -lSDL -lGL -lGLU
=== modified file 'oglsdl.h'
@@ -2,6 +2,11 @@
#define _OGLSDL_H
#include <SDL/SDL.h>
-#include <GL/glew.h>
+
+#define GL_GLEXT_PROTOTYPES
+#include <GL/gl.h>
+#include <GL/glext.h>
+#include <GL/glu.h>
+
#endif
=== modified file 'screen.cpp'
@@ -56,19 +56,6 @@
SDL_WM_SetCaption("GLMark 08", NULL);
- GLenum err = glewInit();
- if(GLEW_OK != err)
- {
- fprintf(stderr, "[ Fail ] - Error: %s\n", glewGetErrorString(err));
- return 0;
- }
-
- if(!GLEW_ARB_vertex_buffer_object)
- {
- fprintf(stderr, "[ Fail ] - VBO objects are not supported\n");
- return 0;
- }
-
glShadeModel(GL_SMOOTH);
glClearColor(0.0f, 0.0f, 0.0f, 0.5f);
glClearDepth(1.0f);