Просмотр исходного кода

Update src/video_core/engines/shader_bytecode.h

Co-Authored-By: FernandoS27 <fsahmkow27@gmail.com>
Mat M 7 лет назад
Родитель
Сommit
a568cd805b
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      src/video_core/engines/shader_bytecode.h

+ 1 - 1
src/video_core/engines/shader_bytecode.h

@@ -983,7 +983,7 @@ union Instruction {
         }
 
         bool IsComponentEnabled(std::size_t component) const {
-            return ((1ul << component) & component_mask) != 0;
+            return ((1ULL << component) & component_mask) != 0;
         }
     } txq;