mirror of
https://github.com/Lime3DS/Lime3DS.git
synced 2024-11-14 05:55:13 +01:00
Merge pull request #4484 from francois-berder/master
renderer_opengl: Fix string comparison
This commit is contained in:
commit
ab0dba6a8b
@ -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 New Issue
Block a user