mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-10 14:51:40 +00:00
- removed the unused x and y parameters from DrawTextureParms.
This commit is contained in:
parent
43dd759859
commit
e2ae7d8f5d
4 changed files with 6 additions and 6 deletions
|
@ -116,10 +116,10 @@ void STACK_ARGS DCanvas::DrawTexture (FTexture *img, double x, double y, int tag
|
|||
{
|
||||
return;
|
||||
}
|
||||
DrawTextureParms(img, x, y, parms);
|
||||
DrawTextureParms(img, parms);
|
||||
}
|
||||
|
||||
void DCanvas::DrawTextureParms(FTexture *img, double x, double y, DrawParms &parms)
|
||||
void DCanvas::DrawTextureParms(FTexture *img, DrawParms &parms)
|
||||
{
|
||||
#ifndef NO_SWRENDER
|
||||
FTexture::Span unmaskedSpan[2];
|
||||
|
|
|
@ -266,7 +266,7 @@ protected:
|
|||
|
||||
bool ClipBox (int &left, int &top, int &width, int &height, const BYTE *&src, const int srcpitch) const;
|
||||
void DrawTextureV(FTexture *img, double x, double y, uint32 tag, va_list tags) = delete;
|
||||
virtual void DrawTextureParms(FTexture *img, double x, double y, DrawParms &parms);
|
||||
virtual void DrawTextureParms(FTexture *img, DrawParms &parms);
|
||||
bool ParseDrawTextureTags (FTexture *img, double x, double y, uint32 tag, va_list tags, DrawParms *parms, bool fortext) const;
|
||||
|
||||
DCanvas() {}
|
||||
|
|
|
@ -2762,11 +2762,11 @@ void D3DFB::DrawPixel(int x, int y, int palcolor, uint32 color)
|
|||
//
|
||||
//==========================================================================
|
||||
|
||||
void D3DFB::DrawTextureParms (FTexture *img, double x, double y, DrawParms &parms)
|
||||
void D3DFB::DrawTextureParms (FTexture *img, DrawParms &parms)
|
||||
{
|
||||
if (In2D < 2)
|
||||
{
|
||||
Super::DrawTextureParms(img, x, y, parms);
|
||||
Super::DrawTextureParms(img, parms);
|
||||
return;
|
||||
}
|
||||
if (!InScene)
|
||||
|
|
|
@ -257,7 +257,7 @@ public:
|
|||
void DrawBlendingRect ();
|
||||
FNativeTexture *CreateTexture (FTexture *gametex, bool wrapping);
|
||||
FNativePalette *CreatePalette (FRemapTable *remap);
|
||||
void DrawTextureParms (FTexture *img, double x, double y, DrawParms &parms);
|
||||
void DrawTextureParms (FTexture *img, DrawParms &parms);
|
||||
void Clear (int left, int top, int right, int bottom, int palcolor, uint32 color);
|
||||
void Dim (PalEntry color, float amount, int x1, int y1, int w, int h);
|
||||
void FlatFill (int left, int top, int right, int bottom, FTexture *src, bool local_origin);
|
||||
|
|
Loading…
Reference in a new issue