int VID_options_items = 0;
-/*-----------------------------------------------------------------------*/
-
-const char *gl_vendor;
-const char *gl_renderer;
-const char *gl_version;
-const char *gl_extensions;
-
/*-----------------------------------------------------------------------*/
void D_BeginDirectRect (int x, int y, qbyte *pbitmap, int width, int height)
{
return;
fxMesaDestroyContext(fc);
+
+ GL_CloseLibrary();
}
void signal_handler(int sig)
GLint attribs[32];
int width = 640, height = 480;
+ GL_OpenLibrary();
+
// set vid parameters
attribs[0] = FXMESA_DOUBLEBUFFER;
attribs[1] = FXMESA_ALPHA_SIZE;