gsdx-ogl: fix texture palette mask

This commit is contained in:
Gregory Hainaut 2015-07-17 19:59:32 +02:00
parent b4c04ed00a
commit ea9e608288
3 changed files with 8 additions and 8 deletions

View File

@ -185,7 +185,7 @@ uvec4 sample_4_index(vec4 uv)
return i >> 4u;
#elif PS_IFMT == 2
// 4HL
return i & 16u;
return i & 0xFu;
#else
// 8 bits
return i;

View File

@ -1046,7 +1046,7 @@ static const char* tfx_fs_all_glsl =
" return i >> 4u;\n"
"#elif PS_IFMT == 2\n"
" // 4HL\n"
" return i & 16u;\n"
" return i & 0xFu;\n"
"#else\n"
" // 8 bits\n"
" return i;\n"