diff --git a/src/d_anonstats.cpp b/src/d_anonstats.cpp index e253e9c2b..4865933e7 100644 --- a/src/d_anonstats.cpp +++ b/src/d_anonstats.cpp @@ -273,7 +273,7 @@ static int GetRenderInfo() if (info.first < 3.3) return 0; if (!info.second) { - if (screen->hwcaps & (RFL_SHADER_STORAGE_BUFFER | RFL_BUFFER_STORAGE) == RFL_SHADER_STORAGE_BUFFER | RFL_BUFFER_STORAGE) return 3; + if ((screen->hwcaps & (RFL_SHADER_STORAGE_BUFFER | RFL_BUFFER_STORAGE)) == (RFL_SHADER_STORAGE_BUFFER | RFL_BUFFER_STORAGE)) return 3; return 4; } return 5;