- more parentheses.

This commit is contained in:
Christoph Oelckers 2018-07-27 20:55:57 +02:00
parent bb5dc92225
commit c60b4239ed

View file

@ -273,7 +273,7 @@ static int GetRenderInfo()
if (info.first < 3.3) return 0; if (info.first < 3.3) return 0;
if (!info.second) 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 4;
} }
return 5; return 5;