1
0
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:
bruvzg
2023-11-06 12:17:14 +02:00
parent 5ee983188d
commit f3d4f5a77e
8 changed files with 49 additions and 18 deletions

View File

@@ -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 {