diff --git a/src/v_draw.cpp b/src/v_draw.cpp index 2338c998f..80a080a44 100644 --- a/src/v_draw.cpp +++ b/src/v_draw.cpp @@ -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]; diff --git a/src/v_video.h b/src/v_video.h index dbb4f5589..6d3c9c226 100644 --- a/src/v_video.h +++ b/src/v_video.h @@ -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() {} diff --git a/src/win32/fb_d3d9.cpp b/src/win32/fb_d3d9.cpp index c0a0dca57..4ef6fa739 100644 --- a/src/win32/fb_d3d9.cpp +++ b/src/win32/fb_d3d9.cpp @@ -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) diff --git a/src/win32/win32iface.h b/src/win32/win32iface.h index ac2ad33a6..9b2754eae 100644 --- a/src/win32/win32iface.h +++ b/src/win32/win32iface.h @@ -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);