summaryrefslogtreecommitdiff
path: root/include/GL
diff options
context:
space:
mode:
authorKarl Schultz <kschultz@freedesktop.org>2005-09-05 14:48:39 +0000
committerKarl Schultz <kschultz@freedesktop.org>2005-09-05 14:48:39 +0000
commitf66084b834ce37e7f0143e456df1265cd343a674 (patch)
treeb070da204e41c3cf4b546e5acbeda94d8fc4b51d /include/GL
parente15c2d077a89b1f4ca7121a85beaf9a0133c61e3 (diff)
Add support for memory contexts (Thomas Kaltofen). Cleanup compilation warnings.
Diffstat (limited to 'include/GL')
-rw-r--r--include/GL/wmesa.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/GL/wmesa.h b/include/GL/wmesa.h
index 0a6e8b6424..66f3dbe82f 100644
--- a/include/GL/wmesa.h
+++ b/include/GL/wmesa.h
@@ -78,7 +78,7 @@ typedef struct wmesa_context *WMesaContext;
* appropriate colormap.
*
* Input:
- * hWnd - Window handle
+ * hDC - Windows device or memory context
* Pal - Palette to use
* rgb_flag - GL_TRUE = RGB mode,
* GL_FALSE = color index mode
@@ -91,7 +91,7 @@ typedef struct wmesa_context *WMesaContext;
*
* Return: a WMesa_context or NULL if error.
*/
-extern WMesaContext WMesaCreateContext(HWND hWnd,HPALETTE* pPal,
+extern WMesaContext WMesaCreateContext(HDC hDC,HPALETTE* pPal,
GLboolean rgb_flag,
GLboolean db_flag,
GLboolean alpha_flag);