Files
Paul Lipscomb 6f66a5db64 Move feedback stutter bug report to android folder
Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
2026-07-30 19:14:00 -05:00

28 lines
838 B
C

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