diff options
author | Kristian Høgsberg <krh@bitplanet.net> | 2010-04-27 11:04:51 -0400 |
---|---|---|
committer | Kristian Høgsberg <krh@bitplanet.net> | 2010-04-28 14:05:21 -0400 |
commit | a7a9a91d7b28e5b5faed509d00f0f951e3136b1b (patch) | |
tree | 49ffb474a4d58ab53785a912f2a623c12c17fe36 /src/mesa/drivers/dri/sis | |
parent | 0f5e8f77022f8bb4ac00128af6d217da747e63df (diff) |
dri: Add DRI entrypoints to create a context for a given API
Diffstat (limited to 'src/mesa/drivers/dri/sis')
-rw-r--r-- | src/mesa/drivers/dri/sis/sis_context.c | 3 | ||||
-rw-r--r-- | src/mesa/drivers/dri/sis/sis_context.h | 3 |
2 files changed, 4 insertions, 2 deletions
diff --git a/src/mesa/drivers/dri/sis/sis_context.c b/src/mesa/drivers/dri/sis/sis_context.c index 400681a04a..85f26a08b7 100644 --- a/src/mesa/drivers/dri/sis/sis_context.c +++ b/src/mesa/drivers/dri/sis/sis_context.c @@ -158,7 +158,8 @@ void sisReAllocateBuffers(GLcontext *ctx, GLframebuffer *drawbuffer, } GLboolean -sisCreateContext( const __GLcontextModes *glVisual, +sisCreateContext( gl_api api, + const __GLcontextModes *glVisual, __DRIcontext *driContextPriv, void *sharedContextPrivate ) { diff --git a/src/mesa/drivers/dri/sis/sis_context.h b/src/mesa/drivers/dri/sis/sis_context.h index 4179ee081a..132cee33ee 100644 --- a/src/mesa/drivers/dri/sis/sis_context.h +++ b/src/mesa/drivers/dri/sis/sis_context.h @@ -438,7 +438,8 @@ enum _sis_verbose { VERBOSE_SIS_MEMORY = 0x2 }; -extern GLboolean sisCreateContext( const __GLcontextModes *glVisual, +extern GLboolean sisCreateContext( gl_api api, + const __GLcontextModes *glVisual, __DRIcontext *driContextPriv, void *sharedContextPrivate ); extern void sisDestroyContext( __DRIcontext * ); |