mirror of
https://github.com/Shpoike/Quakespasm.git
synced 2025-02-24 13:01:46 +00:00
minor warning fix.
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@1495 af15c1b1-3010-417e-b628-4374ebc0bcbd
This commit is contained in:
parent
c2a52c2fef
commit
4455568bf2
1 changed files with 2 additions and 3 deletions
|
@ -552,15 +552,14 @@ choose safe warpimage size and resize existing warpimage textures
|
||||||
*/
|
*/
|
||||||
void TexMgr_RecalcWarpImageSize (void)
|
void TexMgr_RecalcWarpImageSize (void)
|
||||||
{
|
{
|
||||||
int mark, oldsize;
|
// int oldsize = gl_warpimagesize;
|
||||||
|
int mark;
|
||||||
gltexture_t *glt;
|
gltexture_t *glt;
|
||||||
byte *dummy;
|
byte *dummy;
|
||||||
|
|
||||||
//
|
//
|
||||||
// find the new correct size
|
// find the new correct size
|
||||||
//
|
//
|
||||||
oldsize = gl_warpimagesize;
|
|
||||||
|
|
||||||
gl_warpimagesize = TexMgr_SafeTextureSize (512);
|
gl_warpimagesize = TexMgr_SafeTextureSize (512);
|
||||||
|
|
||||||
while (gl_warpimagesize > vid.width)
|
while (gl_warpimagesize > vid.width)
|
||||||
|
|
Loading…
Reference in a new issue