mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-29 12:19:54 +00:00
LibGL: Add GL_SHADING_LANGUAGE_VERSION
to glGetString
This commit is contained in:
parent
6643775999
commit
033f224966
Notes:
sideshowbarker
2024-07-17 22:50:52 +09:00
Author: https://github.com/gmta
Commit: 033f224966
Pull-request: https://github.com/SerenityOS/serenity/pull/11154
Reviewed-by: https://github.com/sunverwerth ✅
2 changed files with 3 additions and 0 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue