[ogles/android?] draw2DImage draws texture mirrored

You discovered a bug in the engine, and you are sure that it is not a problem of your code? Just post it in here. Please read the bug posting guidelines first.
Post Reply
xyz
Posts: 7
Joined: Thu Dec 12, 2013 4:42 pm

[ogles/android?] draw2DImage draws texture mirrored

Post by xyz »

Calling draw2DImage on a texture gotten by rendering to texture (example 13) produces mirrored texture.

Code: https://gist.github.com/xyzz/f5a720b0bbe4a2b2cda6 (should compile for both Android and PC)

PC: http://i.imgur.com/zVHJwoA.png

Android: http://i.imgur.com/TenRlC1.png (there's some screenshot glitch not related to Irrlicht but you get the idea)
xyz
Posts: 7
Joined: Thu Dec 12, 2013 4:42 pm

Re: [ogles/android?] draw2DImage draws texture mirrored

Post by xyz »

This seems to be "fixed" if I make isRTT in draw2DImage false no matter what texture->isRenderTarget() returns.
Post Reply