diff options
author | A Thousand Ships <96648715+AThousandShips@users.noreply.github.com> | 2024-01-28 21:51:39 +0100 |
---|---|---|
committer | A Thousand Ships <96648715+AThousandShips@users.noreply.github.com> | 2024-01-29 09:59:18 +0100 |
commit | 15369fdb1d692e1515dd888dfbae275074be63be (patch) | |
tree | 46c06709329d06989d343b47cb3f2e5dae1400eb /drivers | |
parent | 17e7f85c06366b427e5068c5b3e2940e27ff5f1d (diff) | |
download | redot-engine-15369fdb1d692e1515dd888dfbae275074be63be.tar.gz |
Remove unnecessary `this->` expressions
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/gles3/shader_gles3.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gles3/shader_gles3.cpp b/drivers/gles3/shader_gles3.cpp index 27402da7c8..688d32de0b 100644 --- a/drivers/gles3/shader_gles3.cpp +++ b/drivers/gles3/shader_gles3.cpp @@ -561,7 +561,7 @@ bool ShaderGLES3::_load_from_cache(Version *p_version) { } int cache_variant_count = static_cast<int>(f->get_32()); - ERR_FAIL_COND_V_MSG(cache_variant_count != this->variant_count, false, "shader cache variant count mismatch, expected " + itos(this->variant_count) + " got " + itos(cache_variant_count)); //should not happen but check + ERR_FAIL_COND_V_MSG(cache_variant_count != variant_count, false, "shader cache variant count mismatch, expected " + itos(variant_count) + " got " + itos(cache_variant_count)); //should not happen but check LocalVector<OAHashMap<uint64_t, Version::Specialization>> variants; for (int i = 0; i < cache_variant_count; i++) { |