Merge pull request #10974 from henkz1/gles-10963
Don't compare float to int
This commit is contained in:
commit
77d5013f94
1 changed files with 1 additions and 1 deletions
|
@ -116,7 +116,7 @@ void main() {
|
|||
|
||||
#ifdef USE_TEXTURE_RECT
|
||||
|
||||
if (dst_rect.z < 0) { // Transpose is encoded as negative dst_rect.z
|
||||
if (dst_rect.z < 0.0) { // Transpose is encoded as negative dst_rect.z
|
||||
uv_interp = src_rect.xy + abs(src_rect.zw) * vertex.yx;
|
||||
} else {
|
||||
uv_interp = src_rect.xy + abs(src_rect.zw) * vertex;
|
||||
|
|
Loading…
Reference in a new issue