mirror of
https://github.com/glfw/glfw.git
synced 2024-11-23 02:25:10 +00:00
Formatting.
This commit is contained in:
parent
2999c5d4b8
commit
323e65b3f7
@ -29,6 +29,7 @@
|
|||||||
|
|
||||||
#include "internal.h"
|
#include "internal.h"
|
||||||
|
|
||||||
|
|
||||||
//========================================================================
|
//========================================================================
|
||||||
// Check whether the display mode should be included in enumeration
|
// Check whether the display mode should be included in enumeration
|
||||||
//========================================================================
|
//========================================================================
|
||||||
@ -52,9 +53,12 @@ static BOOL modeIsGood(NSDictionary* mode)
|
|||||||
|
|
||||||
static GLFWvidmode vidmodeFromCGDisplayMode(NSDictionary* mode)
|
static GLFWvidmode vidmodeFromCGDisplayMode(NSDictionary* mode)
|
||||||
{
|
{
|
||||||
unsigned int width = [[mode objectForKey:(id)kCGDisplayWidth] unsignedIntValue];
|
unsigned int width =
|
||||||
unsigned int height = [[mode objectForKey:(id)kCGDisplayHeight] unsignedIntValue];
|
[[mode objectForKey:(id)kCGDisplayWidth] unsignedIntValue];
|
||||||
unsigned int bps = [[mode objectForKey:(id)kCGDisplayBitsPerSample] unsignedIntValue];
|
unsigned int height =
|
||||||
|
[[mode objectForKey:(id)kCGDisplayHeight] unsignedIntValue];
|
||||||
|
unsigned int bps =
|
||||||
|
[[mode objectForKey:(id)kCGDisplayBitsPerSample] unsignedIntValue];
|
||||||
|
|
||||||
GLFWvidmode result;
|
GLFWvidmode result;
|
||||||
result.width = width;
|
result.width = width;
|
||||||
|
Loading…
Reference in New Issue
Block a user