mirror of
https://github.com/glfw/glfw.git
synced 2024-11-22 18:15:10 +00:00
Renamed compare video modes function to internal interface conventions.
This commit is contained in:
parent
beacbb3447
commit
4634c334ea
@ -37,7 +37,7 @@
|
||||
// Lexical comparison function for GLFW video modes, used by qsort
|
||||
//========================================================================
|
||||
|
||||
static int compareVideoModes(const void* firstPtr, const void* secondPtr)
|
||||
int _glfwCompareVideoModes(const void* firstPtr, const void* secondPtr)
|
||||
{
|
||||
int firstBPP, secondBPP, firstSize, secondSize;
|
||||
GLFWvidmode* first = (GLFWvidmode*) firstPtr;
|
||||
@ -118,7 +118,7 @@ GLFWAPI int glfwGetVideoModes(GLFWdisplay display, GLFWvidmode* list, int maxcou
|
||||
|
||||
count = _glfwPlatformGetVideoModes(list, maxcount);
|
||||
if (count > 0)
|
||||
qsort(list, count, sizeof(GLFWvidmode), compareVideoModes);
|
||||
qsort(list, count, sizeof(GLFWvidmode), _glfwCompareVideoModes);
|
||||
|
||||
return count;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user