0
0
Fork 0
mirror of https://github.com/ZDoom/gzdoom-gles.git synced 2025-02-27 21:51:00 +00:00

Use barrier_cast instead of static_cast

This commit is contained in:
Leonard 2015-08-31 13:04:40 +02:00
parent 86e9504d04
commit 0fa24ab82d

View file

@ -1109,8 +1109,7 @@ void pspdef_t::UpdateInterpolation(int player)
{
if (interpolation != NULL)
{
DInterpolation *pointer = interpolation;
static_cast<DPSpriteInterpolation *>(pointer)->UpdatePointer(player);
barrier_cast<DPSpriteInterpolation *>(interpolation)->UpdatePointer(player);
}
}