From f66084b834ce37e7f0143e456df1265cd343a674 Mon Sep 17 00:00:00 2001 From: Karl Schultz Date: Mon, 5 Sep 2005 14:48:39 +0000 Subject: Add support for memory contexts (Thomas Kaltofen). Cleanup compilation warnings. --- include/GL/wmesa.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'include') 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); -- cgit v1.2.3