QT OpenGL Renderer: Remove the unused variable "ver".

This commit is contained in:
OBattler
2025-03-12 18:02:01 +01:00
parent 9ab7134769
commit c73c7212f8

View File

@@ -177,7 +177,6 @@ OpenGLRenderer::compile_shader(GLenum shader_type, const char *prepend, const ch
QByteArray finalSource = nullptr;
const char *source[5];
char version[50];
int ver = 0;
char *version_loc = (char *) strstr(program, "#version");
if (version_loc) {
snprintf(version, 49, "%s\n", versionRegex.match(progSource).captured(1).toLatin1().data());