summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorDaniel Borca <dborca@users.sourceforge.net>2004-02-10 07:46:07 +0000
committerDaniel Borca <dborca@users.sourceforge.net>2004-02-10 07:46:07 +0000
commit22633805fa4edf5771a4aa951de947e3346f76be (patch)
treed42f839120616b2dcce246ed260da3d16168f3bd /include
parenta1b9b1a4409729fa8b6714e5847544576fcee404 (diff)
fixed back fxMesaGetCurrentContext to match MakeCurrent
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);