- Changed TAG_MORE to pass a va_list pointer instead of a va_list because it's a
non-POD type when targeting several non-ix86 targets with GCC. Hopefully this works. SVN r80 (trunk)
This commit is contained in:
parent
e78385f807
commit
fd0c5a6db6
6 changed files with 40 additions and 14 deletions
|
|
@ -103,7 +103,7 @@ void STACK_ARGS DCanvas::DrawTexture (FTexture *img, int x0, int y0, DWORD tags_
|
|||
|
||||
while (tag != TAG_DONE)
|
||||
{
|
||||
va_list more_p;
|
||||
va_list *more_p;
|
||||
DWORD data;
|
||||
|
||||
switch (tag)
|
||||
|
|
@ -114,9 +114,9 @@ void STACK_ARGS DCanvas::DrawTexture (FTexture *img, int x0, int y0, DWORD tags_
|
|||
break;
|
||||
|
||||
case TAG_MORE:
|
||||
more_p = va_arg (tags, va_list);
|
||||
more_p = va_arg (tags, va_list*);
|
||||
va_end (tags);
|
||||
tags = more_p;
|
||||
tags = *more_p;
|
||||
break;
|
||||
|
||||
case DTA_DestWidth:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue