summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorA Thousand Ships <96648715+AThousandShips@users.noreply.github.com>2024-05-06 10:26:10 +0200
committerA Thousand Ships <96648715+AThousandShips@users.noreply.github.com>2024-05-08 12:48:01 +0200
commitb4c6cc7d82d1fcdb3bed734c4e22c19e012c84df (patch)
tree9d29900c69482a9fc491f4c842e56028d9d049a9 /drivers
parent281fe39929303a8ef12e72ff7999b849bbe0678d (diff)
downloadredot-engine-b4c6cc7d82d1fcdb3bed734c4e22c19e012c84df.tar.gz
[Core] Add case-insensitive `String::containsn`
Diffstat (limited to 'drivers')
-rw-r--r--drivers/gles3/storage/config.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gles3/storage/config.cpp b/drivers/gles3/storage/config.cpp
index 1a41b60836..6b5e227782 100644
--- a/drivers/gles3/storage/config.cpp
+++ b/drivers/gles3/storage/config.cpp
@@ -157,7 +157,7 @@ Config::Config() {
continue;
}
- if (renderer.findn(v) != -1) {
+ if (renderer.containsn(v)) {
use_depth_prepass = false;
}
}