mirror of
https://github.com/glfw/glfw.git
synced 2026-09-22 08:50:15 +00:00
Shallow formatting pass.
This commit is contained in:
@@ -206,7 +206,7 @@ void _glfwSetVideoModeMODE( int mode )
|
||||
|
||||
|
||||
//========================================================================
|
||||
// _glfwSetVideoMode() - Change the current video mode
|
||||
// Change the current video mode
|
||||
//========================================================================
|
||||
|
||||
void _glfwSetVideoMode( int *w, int *h, int r, int g, int b, int refresh )
|
||||
@@ -226,7 +226,7 @@ void _glfwSetVideoMode( int *w, int *h, int r, int g, int b, int refresh )
|
||||
//************************************************************************
|
||||
|
||||
//========================================================================
|
||||
// _glfwPlatformGetVideoModes() - Get a list of available video modes
|
||||
// Get a list of available video modes
|
||||
//========================================================================
|
||||
|
||||
int _glfwPlatformGetVideoModes( GLFWvidmode *list, int maxcount )
|
||||
|
||||
@@ -42,7 +42,7 @@
|
||||
//************************************************************************
|
||||
|
||||
//========================================================================
|
||||
// _glfwInitLibraries() - Load necessary libraries (DLLs)
|
||||
// Load necessary libraries (DLLs)
|
||||
//========================================================================
|
||||
|
||||
static int _glfwInitLibraries( void )
|
||||
@@ -113,7 +113,7 @@ static int _glfwInitLibraries( void )
|
||||
|
||||
|
||||
//========================================================================
|
||||
// _glfwFreeLibraries() - Unload used libraries (DLLs)
|
||||
// Unload used libraries (DLLs)
|
||||
//========================================================================
|
||||
|
||||
static void _glfwFreeLibraries( void )
|
||||
@@ -139,7 +139,7 @@ static void _glfwFreeLibraries( void )
|
||||
|
||||
|
||||
//========================================================================
|
||||
// _glfwTerminate_atexit() - Terminate GLFW when exiting application
|
||||
// Terminate GLFW when exiting application
|
||||
//========================================================================
|
||||
|
||||
void _glfwTerminate_atexit( void )
|
||||
@@ -154,7 +154,7 @@ void _glfwTerminate_atexit( void )
|
||||
//************************************************************************
|
||||
|
||||
//========================================================================
|
||||
// _glfwPlatformInit() - Initialize various GLFW state
|
||||
// Initialize various GLFW state
|
||||
//========================================================================
|
||||
|
||||
int _glfwPlatformInit( void )
|
||||
|
||||
@@ -36,8 +36,7 @@
|
||||
//************************************************************************
|
||||
|
||||
//========================================================================
|
||||
// _glfwJoystickPresent() - Return GL_TRUE if joystick is present,
|
||||
// else return GL_FALSE.
|
||||
// Return GL_TRUE if joystick is present, else return GL_FALSE.
|
||||
//========================================================================
|
||||
|
||||
static int _glfwJoystickPresent( int joy )
|
||||
@@ -68,7 +67,7 @@ static int _glfwJoystickPresent( int joy )
|
||||
|
||||
|
||||
//========================================================================
|
||||
// _glfwCalcJoystickPos() - Calculate joystick position
|
||||
// Calculate joystick position
|
||||
//========================================================================
|
||||
|
||||
static float _glfwCalcJoystickPos( DWORD pos, DWORD min, DWORD max )
|
||||
@@ -86,7 +85,7 @@ static float _glfwCalcJoystickPos( DWORD pos, DWORD min, DWORD max )
|
||||
//************************************************************************
|
||||
|
||||
//========================================================================
|
||||
// _glfwPlatformGetJoystickParam() - Determine joystick capabilities
|
||||
// Determine joystick capabilities
|
||||
//========================================================================
|
||||
|
||||
int _glfwPlatformGetJoystickParam( int joy, int param )
|
||||
@@ -129,7 +128,7 @@ int _glfwPlatformGetJoystickParam( int joy, int param )
|
||||
|
||||
|
||||
//========================================================================
|
||||
// _glfwPlatformGetJoystickPos() - Get joystick axis positions
|
||||
// Get joystick axis positions
|
||||
//========================================================================
|
||||
|
||||
int _glfwPlatformGetJoystickPos( int joy, float *pos, int numaxes )
|
||||
@@ -194,7 +193,7 @@ int _glfwPlatformGetJoystickPos( int joy, float *pos, int numaxes )
|
||||
|
||||
|
||||
//========================================================================
|
||||
// _glfwPlatformGetJoystickButtons() - Get joystick button states
|
||||
// Get joystick button states
|
||||
//========================================================================
|
||||
|
||||
int _glfwPlatformGetJoystickButtons( int joy, unsigned char *buttons,
|
||||
|
||||
@@ -36,7 +36,7 @@
|
||||
//************************************************************************
|
||||
|
||||
//========================================================================
|
||||
// _glfwInitTimer() - Initialise timer
|
||||
// Initialise timer
|
||||
//========================================================================
|
||||
|
||||
void _glfwInitTimer( void )
|
||||
|
||||
Reference in New Issue
Block a user