fixed back fxMesaGetCurrentContext to match MakeCurrent

This commit is contained in:
Daniel Borca
2004-02-10 07:46:07 +00:00
parent a1b9b1a440
commit 22633805fa
5 changed files with 40 additions and 15 deletions
+6 -1
View File
@@ -90,7 +90,7 @@ void DMesaDestroyContext (DMesaContext c);
/*
* Return a handle to the current context.
*/
void *DMesaGetCurrentContext (void);
DMesaContext DMesaGetCurrentContext (void);
@@ -106,6 +106,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.
+1 -1
View File
@@ -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);