mirror of https://github.com/PCSX2/pcsx2.git
GS-ogl: Comment out intel vendor set. (#9203)
Fixes Wunused-but-set-variable warning.
This commit is contained in:
parent
494afb9d43
commit
4ded2caa0b
|
@ -620,7 +620,7 @@ bool GSDeviceOGL::CheckFeatures(bool& buggy_pbo)
|
||||||
{
|
{
|
||||||
bool vendor_id_amd = false;
|
bool vendor_id_amd = false;
|
||||||
bool vendor_id_nvidia = false;
|
bool vendor_id_nvidia = false;
|
||||||
bool vendor_id_intel = false;
|
//bool vendor_id_intel = false;
|
||||||
|
|
||||||
const char* vendor = (const char*)glGetString(GL_VENDOR);
|
const char* vendor = (const char*)glGetString(GL_VENDOR);
|
||||||
if (std::strstr(vendor, "Advanced Micro Devices") || std::strstr(vendor, "ATI Technologies Inc.") ||
|
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"))
|
else if (std::strstr(vendor, "Intel"))
|
||||||
{
|
{
|
||||||
Console.WriteLn(Color_StrongBlue, "OGL: Intel GPU detected.");
|
Console.WriteLn(Color_StrongBlue, "OGL: Intel GPU detected.");
|
||||||
vendor_id_intel = true;
|
//vendor_id_intel = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
GLint major_gl = 0;
|
GLint major_gl = 0;
|
||||||
|
|
Loading…
Reference in New Issue