Fixed cast of the OpenGL context type
This commit is contained in:
parent
35275fc714
commit
db4086463f
1 changed files with 1 additions and 1 deletions
|
@ -532,7 +532,7 @@ X11_GL_CreateContext(_THIS, SDL_Window * window)
|
||||||
GLXContext context = NULL, share_context;
|
GLXContext context = NULL, share_context;
|
||||||
|
|
||||||
if (_this->gl_config.share_with_current_context) {
|
if (_this->gl_config.share_with_current_context) {
|
||||||
share_context = SDL_GL_GetCurrentContext();
|
share_context = (GLXContext)SDL_GL_GetCurrentContext();
|
||||||
} else {
|
} else {
|
||||||
share_context = NULL;
|
share_context = NULL;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue