1
0

Remove 'register' keyword in all c++ code.

It's never really done much in c++, was deprecated in c++11 and is reserved since c++17.
Thanks @Maksym Hamarnyk for remdinding me about this.
Note: there are few more register commands in third library .c code. It's still a valid keyword there.


git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@6130 dfc29bdd-3216-0410-991c-e03cc46cb475
This commit is contained in:
cutealien
2020-06-21 11:38:31 +00:00
parent 2c593614cb
commit 54f5ac4982
6 changed files with 46 additions and 46 deletions

View File

@@ -878,7 +878,7 @@ static void executeBlit_TextureBlendColor_16_to_16( const SBlitJob * job )
f18 src_x = f18_zero;
for (u32 dx = 0; dx < job->width; ++dx, src_x += wscale)
{
register u16 c0 = src[f18_floor(src_x)];
u16 c0 = src[f18_floor(src_x)];
if (0 == (c0 & 0x8000))
continue;