mirror of
https://github.com/ZDoom/qzdoom.git
synced 2024-11-10 06:42:12 +00:00
- fixed: MD2 vertex indices were signed shorts but should be unsigned.
- fixed a few warnings from Visual C++ 2015.
This commit is contained in:
parent
9b331b1713
commit
a59824cd88
5 changed files with 7 additions and 7 deletions
|
@ -123,7 +123,7 @@ FIND_PACKAGE_HANDLE_STANDARD_ARGS( GME
|
|||
if( MSVC )
|
||||
# Eliminate unreferenced functions and data
|
||||
# Perform identical COMDAT folding
|
||||
set( REL_LINKER_FLAGS "/opt:ref /opt:icf /nodefaultlib:msvcrt /TSAWARE" )
|
||||
set( REL_LINKER_FLAGS "/opt:ref /opt:icf /nodefaultlib:msvcrt /TSAWARE /LARGEADDRESSAWARE" )
|
||||
|
||||
# String pooling
|
||||
# Function-level linking
|
||||
|
|
|
@ -50,8 +50,8 @@ protected:
|
|||
|
||||
struct FTriangle
|
||||
{
|
||||
short vertexIndices[3];
|
||||
short textureIndices[3];
|
||||
unsigned short vertexIndices[3];
|
||||
unsigned short textureIndices[3];
|
||||
};
|
||||
|
||||
|
||||
|
|
|
@ -3277,8 +3277,8 @@ void D3DFB::FillSimplePoly(FTexture *texture, FVector2 *points, int npoints,
|
|||
return;
|
||||
}
|
||||
|
||||
cosrot = cos(rot);
|
||||
sinrot = sin(rot);
|
||||
cosrot = (float)cos(rot);
|
||||
sinrot = (float)sin(rot);
|
||||
|
||||
CheckQuadBatch(npoints - 2, npoints);
|
||||
quad = &QuadExtra[QuadBatchPos];
|
||||
|
|
|
@ -92,7 +92,7 @@ CUSTOM_CVAR (Int, vid_renderer, 1, CVAR_ARCHIVE | CVAR_GLOBALCONFIG | CVAR_NOINI
|
|||
break;
|
||||
}
|
||||
//changerenderer = true;
|
||||
Printf("You must restart "GAMENAME" to switch the renderer\n");
|
||||
Printf("You must restart " GAMENAME " to switch the renderer\n");
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -37,7 +37,7 @@ PFNWGLSWAPINTERVALEXTPROC vsyncfunc;
|
|||
|
||||
CUSTOM_CVAR(Int, gl_vid_multisample, 0, CVAR_ARCHIVE | CVAR_GLOBALCONFIG | CVAR_NOINITCALL )
|
||||
{
|
||||
Printf("This won't take effect until "GAMENAME" is restarted.\n");
|
||||
Printf("This won't take effect until " GAMENAME " is restarted.\n");
|
||||
}
|
||||
|
||||
CVAR(Bool, gl_debug, false, 0)
|
||||
|
|
Loading…
Reference in a new issue