1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 06:17:35 +00:00

LibGL: Add GL_SHADING_LANGUAGE_VERSION to glGetString

This commit is contained in:
Jelle Raaijmakers 2021-12-01 18:13:30 +01:00 committed by Andreas Kling
parent 6643775999
commit 033f224966
2 changed files with 3 additions and 0 deletions

View file

@ -365,6 +365,8 @@ GLubyte* SoftwareGLContext::gl_get_string(GLenum name)
return reinterpret_cast<GLubyte*>(const_cast<char*>("1.5"));
case GL_EXTENSIONS:
return reinterpret_cast<GLubyte*>(const_cast<char*>(""));
case GL_SHADING_LANGUAGE_VERSION:
return reinterpret_cast<GLubyte*>(const_cast<char*>("0.0"));
default:
dbgln_if(GL_DEBUG, "glGetString(): Unknown enum name!");
break;