mirror of
https://github.com/scratchfoundation/bgfx.git
synced 2025-04-06 12:24:23 -04:00
Print GLSL version.
This commit is contained in:
parent
2f370a6f06
commit
21f5d0c008
1 changed files with 3 additions and 0 deletions
|
@ -1909,6 +1909,9 @@ namespace bgfx
|
|||
GL_GET(GL_MAX_RENDERBUFFER_SIZE, 1);
|
||||
#endif // BGFX_CONFIG_DEBUG
|
||||
|
||||
const char* version = (const char*)glGetString(GL_SHADING_LANGUAGE_VERSION);
|
||||
BX_TRACE("GLSL version: %s", version);
|
||||
|
||||
const char* extensions = (const char*)glGetString(GL_EXTENSIONS);
|
||||
if (NULL != extensions)
|
||||
{
|
||||
|
|
Loading…
Add table
Reference in a new issue