Fix compiler warnings
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/branches/ogl-es@6466 dfc29bdd-3216-0410-991c-e03cc46cb475
This commit is contained in:
@@ -1029,8 +1029,8 @@ COGLES2Driver::~COGLES2Driver()
|
||||
|
||||
IRR_PROFILE(CProfileScope p1(EPID_ES2_DRAW_2DIMAGE);)
|
||||
|
||||
// texcoords need to be flipped horizontally for RTTs
|
||||
const bool isRTT = texture->isRenderTarget();
|
||||
// texcoords need to be flipped horizontally for RTTs
|
||||
const bool isRTT = texture->isRenderTarget();
|
||||
const core::dimension2du& ss = texture->getOriginalSize();
|
||||
const f32 invW = 1.f / static_cast<f32>(ss.Width);
|
||||
const f32 invH = 1.f / static_cast<f32>(ss.Height);
|
||||
|
Reference in New Issue
Block a user