Simplified driver window creation code.

Implemented several Cocoa window functions

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%402002
This commit is contained in:
Sam Lantinga 2006-07-29 21:51:00 +00:00
parent 7f0d36082f
commit c8d7322dc6
8 changed files with 127 additions and 175 deletions

View file

@ -113,8 +113,7 @@ X11_GL_LoadLibrary(_THIS, const char *path)
if (!_this->gl_data->glXChooseVisual ||
!_this->gl_data->glXCreateContext ||
!_this->gl_data->glXDestroyContext ||
!_this->gl_data->glXMakeCurrent ||
!_this->gl_data->glXSwapBuffers) {
!_this->gl_data->glXMakeCurrent || !_this->gl_data->glXSwapBuffers) {
SDL_SetError("Could not retrieve OpenGL functions");
return -1;
}