mirror of
https://github.com/glfw/glfw.git
synced 2024-11-22 04:54:35 +00:00
Formatting pass (no code changes).
This commit is contained in:
parent
a04e041a6b
commit
a4d888c2f5
@ -87,7 +87,8 @@ int _glfwStringInExtensionString(const char *string,
|
|||||||
const GLubyte* extensions)
|
const GLubyte* extensions)
|
||||||
{
|
{
|
||||||
const GLubyte* start;
|
const GLubyte* start;
|
||||||
GLubyte *where, *terminator;
|
GLubyte* where;
|
||||||
|
GLubyte* terminator;
|
||||||
|
|
||||||
// It takes a bit of care to be fool-proof about parsing the
|
// It takes a bit of care to be fool-proof about parsing the
|
||||||
// OpenGL extensions string. Don't be fooled by sub-strings,
|
// OpenGL extensions string. Don't be fooled by sub-strings,
|
||||||
|
@ -348,7 +348,8 @@ int _glfwPlatformGetVideoModes(GLFWvidmode *list, int maxcount)
|
|||||||
int count, k, l, r, g, b, rgba, gl;
|
int count, k, l, r, g, b, rgba, gl;
|
||||||
int depth, screen;
|
int depth, screen;
|
||||||
Display* dpy;
|
Display* dpy;
|
||||||
XVisualInfo *vislist, dummy;
|
XVisualInfo* vislist;
|
||||||
|
XVisualInfo dummy;
|
||||||
int viscount, rgbcount, rescount;
|
int viscount, rgbcount, rescount;
|
||||||
int* rgbarray;
|
int* rgbarray;
|
||||||
struct _glfwResolution* resarray;
|
struct _glfwResolution* resarray;
|
||||||
|
@ -81,7 +81,8 @@ void _glfwInitJoysticks(void)
|
|||||||
{
|
{
|
||||||
#ifdef _GLFW_USE_LINUX_JOYSTICKS
|
#ifdef _GLFW_USE_LINUX_JOYSTICKS
|
||||||
int k, n, fd, joy_count;
|
int k, n, fd, joy_count;
|
||||||
char *joy_base_name, joy_dev_name[20];
|
char* joy_base_name;
|
||||||
|
char joy_dev_name[20];
|
||||||
int driver_version = 0x000800;
|
int driver_version = 0x000800;
|
||||||
char ret_data;
|
char ret_data;
|
||||||
#endif // _GLFW_USE_LINUX_JOYSTICKS
|
#endif // _GLFW_USE_LINUX_JOYSTICKS
|
||||||
|
Loading…
Reference in New Issue
Block a user