Minor fixes.

--HG--
branch : dev
This commit is contained in:
Martín Lucas Golini
2017-07-20 12:33:11 -03:00
parent 452eb9a2e0
commit 98c5e91b96
3 changed files with 3 additions and 3 deletions

View File

@@ -618,7 +618,7 @@ void Texture::drawEx( Float x, Float y, Float width, Float height, const Float &
}
} else if ( Effect == RN_MIRROR ) {
sBR->quadsSetSubsetFree( width / w, 0, width / w, height / h, 0, height / h, 0, 0 );
} else if ( RN_FLIP ) {
} else if ( Effect == RN_FLIP ) {
sBR->quadsSetSubsetFree( 0, height / h, 0, 0, width / w, 0, width / w, height / h );
} else {
sBR->quadsSetSubsetFree( width / w, height / h, width / w, 0, 0, 0, 0, height / h );

View File

@@ -15,7 +15,7 @@ VertexBufferVBO::VertexBufferVBO( const Uint32& VertexFlags, EE_DRAW_MODE DrawTy
mVAO( 0 ),
mElementHandle( 0 )
{
memset( mArrayHandle, 0, VERTEX_FLAGS_COUNT );
for ( int i = 0; i < VERTEX_FLAGS_COUNT; i++ ) mArrayHandle[i] = 0;
}
VertexBufferVBO::~VertexBufferVBO() {

View File

@@ -7,7 +7,7 @@ CursorManager::CursorManager( EE::Window::Window * window ) :
mCurrent( NULL ),
mSysCursor( SYS_CURSOR_NONE ),
mCursors(),
mCurSysCursor( SYS_CURSOR_NONE ),
mCurSysCursor( false ),
mVisible( true )
{
initGlobalCursors();