mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-12-25 11:10:47 +00:00
Reverse the order video modes are sorted in
git-svn-id: https://svn.eduke32.com/eduke32@7922 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
parent
32cd1ae4dd
commit
0d431a390f
2 changed files with 4 additions and 4 deletions
|
@ -1149,8 +1149,8 @@ void(*timerSetCallback(void(*callback)(void)))(void)
|
||||||
static int sortmodes(const void *a_, const void *b_)
|
static int sortmodes(const void *a_, const void *b_)
|
||||||
{
|
{
|
||||||
|
|
||||||
auto a = (const struct validmode_t *)a_;
|
auto a = (const struct validmode_t *)b_;
|
||||||
auto b = (const struct validmode_t *)b_;
|
auto b = (const struct validmode_t *)a_;
|
||||||
|
|
||||||
int x;
|
int x;
|
||||||
|
|
||||||
|
|
|
@ -1750,8 +1750,8 @@ static int sortmodes(const void *a_, const void *b_)
|
||||||
{
|
{
|
||||||
int32_t x;
|
int32_t x;
|
||||||
|
|
||||||
const struct validmode_t *a = (const struct validmode_t *)a_;
|
const struct validmode_t *a = (const struct validmode_t *)b_;
|
||||||
const struct validmode_t *b = (const struct validmode_t *)b_;
|
const struct validmode_t *b = (const struct validmode_t *)a_;
|
||||||
|
|
||||||
if ((x = a->fs - b->fs) != 0) return x;
|
if ((x = a->fs - b->fs) != 0) return x;
|
||||||
if ((x = a->bpp - b->bpp) != 0) return x;
|
if ((x = a->bpp - b->bpp) != 0) return x;
|
||||||
|
|
Loading…
Reference in a new issue