GS-ogl: Comment out intel vendor set. (#9203)

Fixes Wunused-but-set-variable warning.
This commit is contained in:
lightningterror 2023-07-10 07:30:15 +02:00 committed by GitHub
parent 494afb9d43
commit 4ded2caa0b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -620,7 +620,7 @@ bool GSDeviceOGL::CheckFeatures(bool& buggy_pbo)
{
bool vendor_id_amd = false;
bool vendor_id_nvidia = false;
bool vendor_id_intel = false;
//bool vendor_id_intel = false;
const char* vendor = (const char*)glGetString(GL_VENDOR);
if (std::strstr(vendor, "Advanced Micro Devices") || std::strstr(vendor, "ATI Technologies Inc.") ||
@ -637,7 +637,7 @@ bool GSDeviceOGL::CheckFeatures(bool& buggy_pbo)
else if (std::strstr(vendor, "Intel"))
{
Console.WriteLn(Color_StrongBlue, "OGL: Intel GPU detected.");
vendor_id_intel = true;
//vendor_id_intel = true;
}
GLint major_gl = 0;