mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2024-11-24 13:11:33 +00:00
- Add a swap overload to make GCC happy.
SVN r2029 (trunk)
This commit is contained in:
parent
f6428e1cbb
commit
0e3c1dc33e
1 changed files with 9 additions and 0 deletions
|
@ -2020,6 +2020,15 @@ void R_SplitVisSprites ()
|
|||
}
|
||||
#endif
|
||||
|
||||
#ifdef __GNUC__
|
||||
static void swap(vissprite_t *&a, vissprite_t *&b)
|
||||
{
|
||||
vissprite_t *t = a;
|
||||
a = b;
|
||||
b = t;
|
||||
}
|
||||
#endif
|
||||
|
||||
void R_SortVisSprites (bool (*compare)(vissprite_t *, vissprite_t *), size_t first)
|
||||
{
|
||||
int i;
|
||||
|
|
Loading…
Reference in a new issue