ref_gl: fix msvc build
This commit is contained in:
parent
45b091028b
commit
fe464af3ff
1 changed files with 1 additions and 1 deletions
|
@ -87,7 +87,7 @@ static const dframetype_t *R_SpriteLoadFrame( model_t *mod, const void *pin, msp
|
|||
pspriteframe->gl_texturenum = gl_texturenum;
|
||||
*ppframe = pspriteframe;
|
||||
|
||||
return ( pin + sizeof(dspriteframe_t) + pinframe.width * pinframe.height * bytes );
|
||||
return ( (const byte*)pin + sizeof(dspriteframe_t) + pinframe.width * pinframe.height * bytes );
|
||||
}
|
||||
|
||||
/*
|
||||
|
|
Loading…
Add table
Reference in a new issue