diff options
author | Daniel Borca <[email protected]> | 2004-02-10 07:46:07 +0000 |
---|---|---|
committer | Daniel Borca <[email protected]> | 2004-02-10 07:46:07 +0000 |
commit | 22633805fa4edf5771a4aa951de947e3346f76be (patch) | |
tree | d42f839120616b2dcce246ed260da3d16168f3bd /include/GL/dmesa.h | |
parent | a1b9b1a4409729fa8b6714e5847544576fcee404 (diff) |
fixed back fxMesaGetCurrentContext to match MakeCurrent
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 8d4c5bd645d..c7207bd8b6e 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. */ |