mirror of
https://github.com/thunderbrewhq/thunderbrew
synced 2025-12-12 03:02:30 +00:00
9 lines
262 B
C++
9 lines
262 B
C++
|
|
#include "gx/CGxMonitorMode.hpp"
|
||
|
|
|
||
|
|
int32_t CGxMonitorModeSort(const void* a, const void* b) {
|
||
|
|
auto i = static_cast<const CGxMonitorMode*>(a);
|
||
|
|
auto j = static_cast<const CGxMonitorMode*>(b);
|
||
|
|
|
||
|
|
return (i->size.x * i->size.y) - (j->size.x * j->size.y);
|
||
|
|
}
|