Skip to content

Commit

Permalink
Yet another UV fix
Browse files Browse the repository at this point in the history
  • Loading branch information
hrydgard committed Feb 15, 2013
1 parent b21d358 commit c695d8d
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions GPU/GLES/VertexDecoder.h
Original file line number Diff line number Diff line change
Expand Up @@ -254,13 +254,8 @@ class VertexReader
break;

case DEC_FLOAT_2:
if (isThrough()) {
uv[0] = f[0];
uv[1] = f[1];
} else {
uv[0] = f[0] * 2.0f;
uv[1] = f[1] * 2.0f;
}
uv[0] = f[0] * 2.0f;
uv[1] = f[1] * 2.0f;
break;

case DEC_U16A_2:
Expand Down

0 comments on commit c695d8d

Please sign in to comment.