mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-24 04:51:41 +00:00
Fixed compilation with GCC/Clang
error: use of undeclared identifier 'op' error: no matching function for call to 'ListEnd' error: no matching function for call to 'ListGetInt' error: no matching function for call to 'ListGetDouble' ...
This commit is contained in:
parent
d662cece15
commit
e8c2444ddd
3 changed files with 3 additions and 3 deletions
|
@ -774,7 +774,7 @@ begin:
|
|||
OP(NEW_K):
|
||||
OP(NEW):
|
||||
{
|
||||
PClass *cls = (PClass*)(op == OP_NEW ? reg.a[C] : konsta[C].v);
|
||||
PClass *cls = (PClass*)(pc->op == OP_NEW ? reg.a[C] : konsta[C].v);
|
||||
reg.a[B] = cls->CreateNew();
|
||||
NEXTOP;
|
||||
}
|
||||
|
|
|
@ -462,7 +462,7 @@ static inline FColormapStyle * ListGetColormapStyle(va_list &tags)
|
|||
return va_arg(tags, FColormapStyle *);
|
||||
}
|
||||
|
||||
bool DCanvas::ParseDrawTextureTags (FTexture *img, double x, double y, DWORD tag, va_list tags, DrawParms *parms, bool fortext) const
|
||||
bool DCanvas::ParseDrawTextureTags (FTexture *img, double x, double y, DWORD tag, va_list& tags, DrawParms *parms, bool fortext) const
|
||||
{
|
||||
INTBOOL boolval;
|
||||
int intval;
|
||||
|
|
|
@ -275,7 +275,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, DrawParms &parms);
|
||||
bool ParseDrawTextureTags (FTexture *img, double x, double y, uint32 tag, va_list tags, DrawParms *parms, bool fortext) const;
|
||||
bool ParseDrawTextureTags (FTexture *img, double x, double y, uint32 tag, va_list& tags, DrawParms *parms, bool fortext) const;
|
||||
|
||||
DCanvas() {}
|
||||
|
||||
|
|
Loading…
Reference in a new issue