gsdx ogl: nvidia compiler is not happy with implicit cast...

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@5322 96395faa-99c1-11dd-bbfe-3dabce05a288
This commit is contained in:
gregory.hainaut 2012-06-21 17:31:53 +00:00
parent 3b2944fe45
commit 3af930c555
1 changed files with 2 additions and 2 deletions

View File

@ -428,13 +428,13 @@ vec4 sample_color(vec2 st, float q)
mat4 c;
if(PS_FMT & FMT_PAL)
if((PS_FMT & FMT_PAL) != 0)
c = sample_4p(sample_4a(uv));
else
c = sample_4c(uv);
// PERF: see the impact of the exansion before/after the interpolation
for (uint i = 0; i < 4; i++) {
for (int i = 0; i < 4; i++) {
if((PS_FMT & ~FMT_PAL) == FMT_16)
{
// FIXME GLSL any only support bvec so try to mix it with notEqual