mirror of
https://github.com/ZDoom/qzdoom-gpl.git
synced 2024-11-16 01:02:03 +00:00
- Fix GCC errors in fb_d3d9.cpp.
SVN r3492 (trunk)
This commit is contained in:
parent
7783aec8a9
commit
0d302269bb
1 changed files with 4 additions and 2 deletions
|
@ -2969,6 +2969,8 @@ void STACK_ARGS D3DFB::DrawTextureV (FTexture *img, double x, double y, uint32 t
|
|||
float v1 = tex->Box->Bottom;
|
||||
double uscale = 1.f / tex->Box->Owner->Width;
|
||||
bool scissoring = false;
|
||||
FBVERTEX *vert;
|
||||
float yoffs;
|
||||
|
||||
if (parms.flipX)
|
||||
{
|
||||
|
@ -3042,7 +3044,7 @@ void STACK_ARGS D3DFB::DrawTextureV (FTexture *img, double x, double y, uint32 t
|
|||
quad->NumTris = 2;
|
||||
quad->NumVerts = 4;
|
||||
|
||||
float yoffs = GatheringWipeScreen ? 0.5f : 0.5f - LBOffset;
|
||||
yoffs = GatheringWipeScreen ? 0.5f : 0.5f - LBOffset;
|
||||
|
||||
#if 0
|
||||
// Coordinates are truncated to integers, because that's effectively
|
||||
|
@ -3059,7 +3061,7 @@ void STACK_ARGS D3DFB::DrawTextureV (FTexture *img, double x, double y, uint32 t
|
|||
y1 = y1 - yoffs;
|
||||
#endif
|
||||
|
||||
FBVERTEX *vert = &VertexData[VertexPos];
|
||||
vert = &VertexData[VertexPos];
|
||||
|
||||
// Fill the vertex buffer.
|
||||
vert[0].x = float(x0);
|
||||
|
|
Loading…
Reference in a new issue