mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2025-01-31 12:30:32 +00:00
Use barrier_cast instead of static_cast
This commit is contained in:
parent
86e9504d04
commit
0fa24ab82d
1 changed files with 1 additions and 2 deletions
|
@ -1109,8 +1109,7 @@ void pspdef_t::UpdateInterpolation(int player)
|
||||||
{
|
{
|
||||||
if (interpolation != NULL)
|
if (interpolation != NULL)
|
||||||
{
|
{
|
||||||
DInterpolation *pointer = interpolation;
|
barrier_cast<DPSpriteInterpolation *>(interpolation)->UpdatePointer(player);
|
||||||
static_cast<DPSpriteInterpolation *>(pointer)->UpdatePointer(player);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue