Fixing a few warnings
This commit is contained in:
1 parent
a78377741c
commit
ad725ba9d9
22 files changed
+128
-86
No files matched your search
@@ -75,7 +75,7 @@ void ShaderCompiler::compile() {
|
||||
} else {
|
||||
for (int x = 0; x < 2; x++) {
|
||||
for (int y = 0; y < 2; y++) {
|
||||
work.add([=]() {
|
||||
work.add([=, this]() {
|
||||
ShaderPermutation permutation = getTemplate(name);
|
||||
permutation.setPositionOnly(x);
|
||||
permutation.setDepthCulling(y);
|
||||
|
||||
Reference in new issue
Block a user