From: Karl Schultz Date: Thu, 30 Mar 2006 07:53:15 +0000 (+0000) Subject: Fixes from Brian X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=a8c9ecfab005088b1b201abc9d04f5169d1b3b64;p=mesa.git Fixes from Brian --- diff --git a/include/GL/wmesa.h b/include/GL/wmesa.h index 66f3dbe82f0..1c959a6792c 100644 --- a/include/GL/wmesa.h +++ b/include/GL/wmesa.h @@ -100,15 +100,14 @@ extern WMesaContext WMesaCreateContext(HDC hDC,HPALETTE* pPal, /* * Destroy a rendering context as returned by WMesaCreateContext() */ -/*extern void WMesaDestroyContext( WMesaContext ctx );*/ -extern void WMesaDestroyContext( void ); +extern void WMesaDestroyContext( WMesaContext ctx ); /* * Make the specified context the current one. */ -extern void WMesaMakeCurrent( WMesaContext ctx ); +extern void WMesaMakeCurrent( WMesaContext ctx, HDC hdc ); /* @@ -121,7 +120,7 @@ extern WMesaContext WMesaGetCurrentContext( void ); * Swap the front and back buffers for the current context. No action * taken if the context is not double buffered. */ -extern void WMesaSwapBuffers(void); +extern void WMesaSwapBuffers(HDC hdc); /*