mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-11-13 07:58:04 +00:00
Better VM_DummySprite()
git-svn-id: https://svn.eduke32.com/eduke32@7634 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
parent
3577d8a032
commit
de695f22bc
1 changed files with 4 additions and 5 deletions
|
@ -143,12 +143,11 @@ static FORCE_INLINE int32_t VM_EventCommon__(int const &eventNum, int const &spr
|
||||||
return returnValue;
|
return returnValue;
|
||||||
}
|
}
|
||||||
#else
|
#else
|
||||||
// do not inline
|
static uspritetype dummy_sprite;
|
||||||
static void VM_DummySprite(void)
|
static actor_t dummy_actor;
|
||||||
{
|
|
||||||
static uspritetype dummy_sprite;
|
|
||||||
static actor_t dummy_actor;
|
|
||||||
|
|
||||||
|
static inline void VM_DummySprite(void)
|
||||||
|
{
|
||||||
vm.pUSprite = &dummy_sprite;
|
vm.pUSprite = &dummy_sprite;
|
||||||
vm.pActor = &dummy_actor;
|
vm.pActor = &dummy_actor;
|
||||||
vm.pData = &dummy_actor.t_data[0];
|
vm.pData = &dummy_actor.t_data[0];
|
||||||
|
|
Loading…
Reference in a new issue