Fix texture rect transpose for OpenGL
This commit is contained in:
parent
2e506516ee
commit
e241f871a4
1 changed files with 1 additions and 1 deletions
|
@ -920,7 +920,7 @@ void RasterizerCanvasGLES3::_record_item_commands(const Item *p_item, RID p_rend
|
||||||
}
|
}
|
||||||
|
|
||||||
if (rect->flags & CANVAS_RECT_TRANSPOSE) {
|
if (rect->flags & CANVAS_RECT_TRANSPOSE) {
|
||||||
dst_rect.size.x *= -1; // Encoding in the dst_rect.z uniform
|
state.instance_data_array[r_index].flags |= FLAGS_TRANSPOSE_RECT;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (rect->flags & CANVAS_RECT_CLIP_UV) {
|
if (rect->flags & CANVAS_RECT_CLIP_UV) {
|
||||||
|
|
Loading…
Reference in a new issue