[Feat] (getter.cpp): Add NV renderer feature(disabled now).

Signed-off-by: BZLZHH <admin@bzlzhh.top>
This commit is contained in:
BZLZHH 2025-02-04 01:11:37 +08:00
parent ddd07559ec
commit c6dc05879b

View File

@ -83,6 +83,21 @@ void AppendExtension(const char* ext) {
const GLubyte * glGetString( GLenum name ) {
LOG();
LOAD_GLES(glGetString, const GLubyte *, GLenum);
/* Feature in the Future
* Advanced OpenGL driver: NV renderer.
switch (name) {
case GL_VENDOR:
return (const GLubyte *) "NVIDIA Corporation";
case GL_VERSION:
return (const GLubyte *) "4.6.0 NVIDIA 572.16";
case GL_RENDERER:
return (const GLubyte *) "NVIDIA GeForce RTX 5090/PCIe/SSE2";
case GL_SHADING_LANGUAGE_VERSION:
return (const GLubyte *) "4.50 MobileGlues with glslang and SPIRV-Cross";
case GL_EXTENSIONS:
return (const GLubyte *) GetExtensionsList();
}
*/
switch (name) {
case GL_VENDOR:
return (const GLubyte *) "Swung0x48, BZLZHH, Tungsten";