Fix OSX null-pointer-arithmetic error

This commit is contained in:
mazmazz 2020-06-08 00:08:07 -04:00
parent d2fefb6b9a
commit 2cefe82950

View file

@ -1924,7 +1924,7 @@ EXPORT void HWRAPI(CreateModelVBOs) (model_t *model)
}
}
#define BUFFER_OFFSET(i) ((char*)NULL + (i))
#define BUFFER_OFFSET(i) ((void*)(i))
static void DrawModelEx(model_t *model, INT32 frameIndex, INT32 duration, INT32 tics, INT32 nextFrameIndex, FTransform *pos, float scale, UINT8 flipped, UINT8 *color)
{