mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-01 01:38:06 +02:00
apple: Finish build fixes for applegl_glx.c
libGL.dylib now *builds* on darwin. Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>
This commit is contained in:
parent
7c5f37c032
commit
2ee5272e16
1 changed files with 2 additions and 3 deletions
|
|
@ -99,7 +99,8 @@ applegl_create_context(struct glx_screen *psc,
|
|||
struct glx_context *gc;
|
||||
int errorcode;
|
||||
bool x11error;
|
||||
Display *dpy;
|
||||
Display *dpy = psc->dpy;
|
||||
int screen = psc->scr;
|
||||
|
||||
/* TODO: Integrate this with apple_glx_create_context and make
|
||||
* struct apple_glx_context inherit from struct glx_context. */
|
||||
|
|
@ -113,8 +114,6 @@ applegl_create_context(struct glx_screen *psc,
|
|||
return NULL;
|
||||
}
|
||||
|
||||
dpy = gc->psc->dpy;
|
||||
|
||||
gc->vtable = &applegl_context_vtable;
|
||||
gc->driContext = NULL;
|
||||
gc->do_destroy = False;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue