texture flip fixed
This commit is contained in:
parent
862e566507
commit
717960f15f
|
@ -102,8 +102,9 @@ namespace
|
||||||
const bool flipFramebuffer = true;
|
const bool flipFramebuffer = true;
|
||||||
const bool flipMatrix = false;
|
const bool flipMatrix = false;
|
||||||
#else
|
#else
|
||||||
|
const auto rhi = context()->rhi();
|
||||||
const bool flipFramebuffer = rhi->isYUpInFramebuffer();
|
const bool flipFramebuffer = rhi->isYUpInFramebuffer();
|
||||||
const bool flipMatrix = rhi->isYUpInNDC();
|
const bool flipMatrix = !rhi->isYUpInNDC();
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
auto r = rect;
|
auto r = rect;
|
||||||
|
|
Loading…
Reference in New Issue