From 22633805fa4edf5771a4aa951de947e3346f76be Mon Sep 17 00:00:00 2001 From: Daniel Borca Date: Tue, 10 Feb 2004 07:46:07 +0000 Subject: fixed back fxMesaGetCurrentContext to match MakeCurrent --- include/GL/dmesa.h | 7 ++++++- include/GL/fxmesa.h | 2 +- 2 files changed, 7 insertions(+), 2 deletions(-) (limited to 'include/GL') 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); @@ -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. 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); -- cgit v1.2.3