mirror of
https://github.com/Redot-Engine/redot-engine.git
synced 2025-12-06 15:21:56 -05:00
[X11] Add fallback from desktop GL to GLES, suppress PRIME detector error spam.
This commit is contained in:
@@ -122,7 +122,7 @@ void StringName::unref() {
|
||||
if (_data && _data->refcount.unref()) {
|
||||
MutexLock lock(mutex);
|
||||
|
||||
if (_data->static_count.get() > 0) {
|
||||
if (CoreGlobals::leak_reporting_enabled && _data->static_count.get() > 0) {
|
||||
if (_data->cname) {
|
||||
ERR_PRINT("BUG: Unreferenced static string to 0: " + String(_data->cname));
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user