Add support for memory contexts (Thomas Kaltofen). Cleanup compilation warnings.

This commit is contained in:
Karl Schultz
2005-09-05 14:48:39 +00:00
parent e15c2d077a
commit f66084b834
4 changed files with 36 additions and 35 deletions
+2 -2
View File
@@ -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);