diff options
Diffstat (limited to 'include/GL/dmesa.h')
-rw-r--r-- | include/GL/dmesa.h | 7 |
1 files changed, 6 insertions, 1 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. */ |