63
63
const char *exts = (const char *)glGetString(GL_EXTENSIONS);
64
64
assert(hasext(exts, "GL_ARB_texture_compression"));
65
65
assert(hasext(exts, "GL_EXT_texture_compression_s3tc"));
67
67
// Set the OpenGL state after creating the context with SDL_SetVideoMode
69
69
glClearColor( 0, 0, 0, 0 );
75
73
glViewport( 0, 0, 640, 480 );