mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-07 11:28:05 +02:00
apple: Rename GLXcontext
Fixes regression introduced by:c356f5867fSigned-off-by: Jeremy Huddleston <jeremyhu@apple.com> (cherry picked from commit279e471750)
This commit is contained in:
parent
9bcc214159
commit
a6a5772250
1 changed files with 1 additions and 1 deletions
|
|
@ -710,7 +710,7 @@ _X_EXPORT void
|
|||
glXSwapBuffers(Display * dpy, GLXDrawable drawable)
|
||||
{
|
||||
#ifdef GLX_USE_APPLEGL
|
||||
GLXContext gc = glXGetCurrentContext();
|
||||
struct glx_context * gc = __glXGetCurrentContext();
|
||||
if(gc && apple_glx_is_current_drawable(dpy, gc->driContext, drawable)) {
|
||||
apple_glx_swap_buffers(gc->driContext);
|
||||
} else {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue