fixed back fxMesaGetCurrentContext to match MakeCurrent
This commit is contained in:
+6
-1
@@ -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
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user