summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/GL/dmesa.h7
-rw-r--r--include/GL/fxmesa.h2
2 files changed, 7 insertions, 2 deletions
diff --git a/include/GL/dmesa.h b/include/GL/dmesa.h
index 8d4c5bd645..c7207bd8b6 100644
--- a/include/GL/dmesa.h
+++ b/include/GL/dmesa.h
@@ -90,7 +90,7 @@ void DMesaDestroyContext (DMesaContext c);
/*
* Return a handle to the current context.
*/
-void *DMesaGetCurrentContext (void);
+DMesaContext DMesaGetCurrentContext (void);
@@ -107,6 +107,11 @@ DMesaBuffer DMesaCreateBuffer (DMesaVisual visual,
void DMesaDestroyBuffer (DMesaBuffer b);
/*
+ * Return a handle to the current buffer.
+ */
+DMesaBuffer DMesaGetCurrentBuffer (void);
+
+/*
* Swap the front and back buffers for the given Buffer.
* No action is taken if the buffer is not double buffered.
*/
diff --git a/include/GL/fxmesa.h b/include/GL/fxmesa.h
index 5c63a8db65..057e6bd017 100644
--- a/include/GL/fxmesa.h
+++ b/include/GL/fxmesa.h
@@ -77,7 +77,7 @@ GLAPI GLint GLAPIENTRY fxMesaSelectCurrentBoard(int n);
GLAPI void GLAPIENTRY fxMesaMakeCurrent(fxMesaContext ctx);
-GLAPI void * GLAPIENTRY fxMesaGetCurrentContext(void);
+GLAPI fxMesaContext GLAPIENTRY fxMesaGetCurrentContext(void);
GLAPI void GLAPIENTRY fxMesaSwapBuffers(void);