equal
deleted
inserted
replaced
111 "glXSwapBuffers"); |
111 "glXSwapBuffers"); |
112 |
112 |
113 if (!_this->gl_data->glXChooseVisual || |
113 if (!_this->gl_data->glXChooseVisual || |
114 !_this->gl_data->glXCreateContext || |
114 !_this->gl_data->glXCreateContext || |
115 !_this->gl_data->glXDestroyContext || |
115 !_this->gl_data->glXDestroyContext || |
116 !_this->gl_data->glXMakeCurrent || |
116 !_this->gl_data->glXMakeCurrent || !_this->gl_data->glXSwapBuffers) { |
117 !_this->gl_data->glXSwapBuffers) { |
|
118 SDL_SetError("Could not retrieve OpenGL functions"); |
117 SDL_SetError("Could not retrieve OpenGL functions"); |
119 return -1; |
118 return -1; |
120 } |
119 } |
121 |
120 |
122 _this->gl_config.dll_handle = handle; |
121 _this->gl_config.dll_handle = handle; |