mirror of
https://github.com/overte-org/overte.git
synced 2025-08-09 08:21:24 +02:00
avoid warning?
This commit is contained in:
parent
6a39ad3b5a
commit
4104aa6286
1 changed files with 1 additions and 1 deletions
|
@ -159,7 +159,7 @@ void GL45Backend::initTextureManagementStage() {
|
||||||
// But now let s refine the behavior based on vendor
|
// But now let s refine the behavior based on vendor
|
||||||
std::string vendor { (const char*)glGetString(GL_VENDOR) };
|
std::string vendor { (const char*)glGetString(GL_VENDOR) };
|
||||||
if ((vendor.compare("AMD") <= 0) || (vendor.compare("INTEL") <= 0)) {
|
if ((vendor.compare("AMD") <= 0) || (vendor.compare("INTEL") <= 0)) {
|
||||||
qCDebug(gpugllogging, "GPU is sparse capable but force it off %s\n", vendor);
|
qCDebug(gpugllogging) << "GPU is sparse capable but force it off, vendor = " << vendor.c_str();
|
||||||
_textureManagement._sparseCapable = false;
|
_textureManagement._sparseCapable = false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue