You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-04 12:00:25 +00: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