Allow access to GL extension list
This was SVN commit r777.
This commit is contained in:
parent
d27c345f28
commit
464dfd7ee5
@ -26,7 +26,7 @@ extern "C"
|
||||
}
|
||||
|
||||
|
||||
static const char* exts;
|
||||
static const char* exts = NULL;
|
||||
|
||||
|
||||
// check if the extension <ext> is supported by the OpenGL implementation
|
||||
@ -115,6 +115,10 @@ int ogl_get_gfx_info()
|
||||
return 0;
|
||||
}
|
||||
|
||||
const char* oglExtList()
|
||||
{
|
||||
return exts;
|
||||
}
|
||||
|
||||
// call after each video mode change
|
||||
void oglInit()
|
||||
|
@ -96,6 +96,9 @@ extern void oglInit();
|
||||
// gfx_card and gfx_drv_ver are unchanged on failure.
|
||||
extern int ogl_get_gfx_info();
|
||||
|
||||
// return a NULL-terminated string (of unlimited length) containing
|
||||
// a space-separated list of supported extensions.
|
||||
const char* oglExtList();
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user