Skip to content

Commit

Permalink
XQuartz: Build fix for __GLXscreen::createContext changes
Browse files Browse the repository at this point in the history
Regression-from: 96d7413

Signed-off-by: Jeremy Huddleston <[email protected]>
  • Loading branch information
jeremyhu committed Jul 24, 2012
1 parent 77de299 commit 0d64e88
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion hw/xquartz/GL/indirect.c
Original file line number Diff line number Diff line change
Expand Up @@ -135,12 +135,20 @@ struct __GLXAquaDrawable {
static __GLXcontext *
__glXAquaScreenCreateContext(__GLXscreen *screen,
__GLXconfig *conf,
__GLXcontext *baseShareContext)
__GLXcontext *baseShareContext,
unsigned num_attribs,
const uint32_t *attribs,
int *error)
{
__GLXAquaContext *context;
__GLXAquaContext *shareContext = (__GLXAquaContext *)baseShareContext;
CGLError gl_err;

/* Unused (for now?) */
(void)num_attribs;
(void)attribs;
(void)error;

GLAQUA_DEBUG_MSG("glXAquaScreenCreateContext\n");

context = calloc(1, sizeof(__GLXAquaContext));
Expand Down

0 comments on commit 0d64e88

Please sign in to comment.