7 #include "glew/include/gl/glew.h"
8 #include "glew/include/gl/wglew.h"
9 #include "glew/include/gl/wglext.h"
11 // GL context functions
12 // opening and managing GL context is handled behind the scenes
15 bool LICE_GL_IsValid(); // GL context is initialized (will be lazy initialized on first call) and valid
17 HWND
LICE_GL_GetWindow(); // Get the window that owns the GL context (one per process)
19 void LICE_GL_CloseCtx(); // Something failed, turn off GL context forever so we don't keep failing
21 GLUnurbsObj
* LICE_GL_GetNurbsObj(int linetol
=8); // linetol = maximum number of straight-line pixels
23 // facility for associating a glyph with a texture
24 GLuint
LICE_GL_GetTexFromGlyph(const unsigned char* glyph
, int glyph_w
, int glyph_h
);
25 void LICE_GL_ClearTex();