Fix OSX null-pointer-arithmetic error

This commit is contained in:
mazmazz authored and Alug committed 2026-06-22 23:14:36 +02:00
1 parent c44b3f3f9b
commit 3cd0ec0336
1 file changed
+1 -1
+1 -1
View File
@@ -2928,7 +2928,7 @@ void GL_CreateModelVBOs(model_t *model)
}
}
#define BUFFER_OFFSET(i) ((char*)(i))
#define BUFFER_OFFSET(i) ((void*)(i))
void GL_DrawModelEx(model_t *model, INT32 frameIndex, float duration, float tics, INT32 nextFrameIndex, FTransform *pos, float hscale, float vscale, UINT8 flipped, UINT8 hflipped, FSurfaceInfo *Surface)
{