mirror of
https://git.h3cjp.net/H3cJP/citra.git
synced 2024-12-26 05:06:43 +00:00
renderer_opengl: Fix string comparison
Signed-off-by: Francois Berder <fberder@outlook.fr>
This commit is contained in:
parent
cd80a0df8c
commit
c598fd7228
|
@ -551,7 +551,7 @@ Core::System::ResultStatus RendererOpenGL::Init() {
|
||||||
Core::Telemetry().AddField(Telemetry::FieldType::UserSystem, "GPU_Model", gpu_model);
|
Core::Telemetry().AddField(Telemetry::FieldType::UserSystem, "GPU_Model", gpu_model);
|
||||||
Core::Telemetry().AddField(Telemetry::FieldType::UserSystem, "GPU_OpenGL_Version", gl_version);
|
Core::Telemetry().AddField(Telemetry::FieldType::UserSystem, "GPU_OpenGL_Version", gl_version);
|
||||||
|
|
||||||
if (gpu_vendor == "GDI Generic") {
|
if (!strcmp(gpu_vendor, "GDI Generic")) {
|
||||||
return Core::System::ResultStatus::ErrorVideoCore_ErrorGenericDrivers;
|
return Core::System::ResultStatus::ErrorVideoCore_ErrorGenericDrivers;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue