GBA Video: Fix high tiles rendering wrong on macOS

This commit is contained in:
Vicki Pfau 2022-06-24 21:46:02 -07:00
parent 7fe043146d
commit 6629aeebec
1 changed files with 1 additions and 1 deletions

View File

@ -177,7 +177,7 @@ static const char* const _renderMode0 =
" coord.y ^= 7;\n"
" }\n"
" int tile = map & 1023;\n"
" int paletteEntry = renderTile(tile, map >> 12, coord & 7);\n"
" int paletteEntry = renderTile(tile, (map >> 12) & 15, coord & 7);\n"
" color = texelFetch(palette, ivec2(paletteEntry, int(texCoord.y)), 0);\n"
"}\n";