Commit 44c9d539 authored by hybrid's avatar hybrid

Fix signed/unsigned warning.

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3703 dfc29bdd-3216-0410-991c-e03cc46cb475
parent 1db83c00
...@@ -591,7 +591,7 @@ static void executeBlit_TextureCopy_24_to_16( const SBlitJob * job ) ...@@ -591,7 +591,7 @@ static void executeBlit_TextureCopy_24_to_16( const SBlitJob * job )
for ( u32 dy = 0; dy != h; ++dy ) for ( u32 dy = 0; dy != h; ++dy )
{ {
const u8* s = src; const u8* s = src;
for ( u32 dx = 0; dx != job->width; ++dx ) for ( u32 dx = 0; dx != w; ++dx )
{ {
dst[dx] = video::RGBA16(s[0], s[1], s[2]); dst[dx] = video::RGBA16(s[0], s[1], s[2]);
s += 3; s += 3;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment