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:
@@ -158,7 +158,7 @@ void CTRTextureWire2::renderLine ( const s4DVertex *a,const s4DVertex *b, int re
|
||||
if ( dy > dx )
|
||||
{
|
||||
//swap
|
||||
register s32 t;
|
||||
s32 t;
|
||||
t = dx;dx=dy;dy=t;
|
||||
t = xInc0;xInc0=yInc0;yInc0=t;
|
||||
#ifdef USE_ZBUFFER
|
||||
|
Reference in New Issue
Block a user