[GPU] Make static and const methods if possible

This commit is contained in:
Herman Semenov committed 2024-04-05 17:04:31 +03:00
1 parent 8aac45fec0
commit b57dab2812
32 files changed
+64 -64

No files matched your search

+1 -1
View File
@@ -85,7 +85,7 @@ void FragmentTestCacheGLES::BindTestTexture(int slot) {
cache_[id] = item;
}
FragmentTestID FragmentTestCacheGLES::GenerateTestID() const {
FragmentTestID FragmentTestCacheGLES::GenerateTestID() {
FragmentTestID id;
// Let's just keep it simple, it's all in here.
id.alpha = gstate.isAlphaTestEnabled() ? gstate.alphatest : 0;