diff --git a/include/PICA/pica_frag_config.hpp b/include/PICA/pica_frag_config.hpp index 89dd34205..3431da65d 100644 --- a/include/PICA/pica_frag_config.hpp +++ b/include/PICA/pica_frag_config.hpp @@ -16,7 +16,7 @@ namespace PICA { // Merge the enable + compare function into 1 field to avoid duplicate shaders // enable == off means a CompareFunction of Always BitField<0, 3, CompareFunction> alphaTestFunction; - BitField<4, 1, u32> depthMapEnable; + BitField<3, 1, u32> depthMapEnable; }; }; @@ -188,8 +188,8 @@ namespace PICA { // Config used for identifying unique fragment pipeline configurations struct FragmentConfig { - OutputConfig outConfig; - TextureConfig texConfig; + OutputConfig outConfig{}; + TextureConfig texConfig{}; LightingConfig lighting; bool operator==(const FragmentConfig& config) const {