115
115
printf("Unable to set video mode: %s\n", SDL_GetError());
119
119
// Set the OpenGL state after creating the context with SDL_SetVideoMode
121
121
glClearColor( 0, 0, 0, 0 );
124
124
glEnable( GL_TEXTURE_2D ); // Need this to display a texture XXX unnecessary in OpenGL ES 2.0/WebGL