XQuartz: Build fix for __GLXscreen::createContext changes
Regression-from: 96d74138b1
Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>
This commit is contained in:
parent
77de299477
commit
0d64e881a3
|
@ -135,12 +135,20 @@ struct __GLXAquaDrawable {
|
||||||
static __GLXcontext *
|
static __GLXcontext *
|
||||||
__glXAquaScreenCreateContext(__GLXscreen *screen,
|
__glXAquaScreenCreateContext(__GLXscreen *screen,
|
||||||
__GLXconfig *conf,
|
__GLXconfig *conf,
|
||||||
__GLXcontext *baseShareContext)
|
__GLXcontext *baseShareContext,
|
||||||
|
unsigned num_attribs,
|
||||||
|
const uint32_t *attribs,
|
||||||
|
int *error)
|
||||||
{
|
{
|
||||||
__GLXAquaContext *context;
|
__GLXAquaContext *context;
|
||||||
__GLXAquaContext *shareContext = (__GLXAquaContext *)baseShareContext;
|
__GLXAquaContext *shareContext = (__GLXAquaContext *)baseShareContext;
|
||||||
CGLError gl_err;
|
CGLError gl_err;
|
||||||
|
|
||||||
|
/* Unused (for now?) */
|
||||||
|
(void)num_attribs;
|
||||||
|
(void)attribs;
|
||||||
|
(void)error;
|
||||||
|
|
||||||
GLAQUA_DEBUG_MSG("glXAquaScreenCreateContext\n");
|
GLAQUA_DEBUG_MSG("glXAquaScreenCreateContext\n");
|
||||||
|
|
||||||
context = calloc(1, sizeof(__GLXAquaContext));
|
context = calloc(1, sizeof(__GLXAquaContext));
|
||||||
|
|
Loading…
Reference in New Issue
Block a user