Fix OSX null-pointer-arithmetic error
This commit is contained in:
1 parent
c44b3f3f9b
commit
3cd0ec0336
1 file changed
+1
-1
@@ -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)
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user