Browse Source

ref_gl: fix msvc build

pull/2/head
Alibek Omarov 6 years ago committed by GitHub
parent
commit
fe464af3ff
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      ref_gl/gl_sprite.c

2
ref_gl/gl_sprite.c

@ -87,7 +87,7 @@ static const dframetype_t *R_SpriteLoadFrame( model_t *mod, const void *pin, msp @@ -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…
Cancel
Save