From 0f1ab5317f44b12469c8b9362bd8a8841adf2f1b Mon Sep 17 00:00:00 2001 From: Camilla Berglund Date: Wed, 1 Aug 2012 01:05:57 +0200 Subject: [PATCH] Formatting. --- src/opengl.c | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/src/opengl.c b/src/opengl.c index 608bc4b3..ec6912b1 100644 --- a/src/opengl.c +++ b/src/opengl.c @@ -45,10 +45,10 @@ static GLboolean parseGLVersion(int* major, int* minor, int* rev) const char* version; const char* prefixes[] = { - "OpenGL ES-CM ", - "OpenGL ES-CL ", - "OpenGL ES ", - NULL + "OpenGL ES-CM ", + "OpenGL ES-CL ", + "OpenGL ES ", + NULL }; version = (const char*) glGetString(GL_VERSION); @@ -61,13 +61,13 @@ static GLboolean parseGLVersion(int* major, int* minor, int* rev) for (i = 0; prefixes[i]; i++) { - const size_t length = strlen(prefixes[i]); + const size_t length = strlen(prefixes[i]); - if (strncmp(version, prefixes[i], length) == 0) - { - version += length; - break; - } + if (strncmp(version, prefixes[i], length) == 0) + { + version += length; + break; + } } if (!sscanf(version, "%d.%d.%d", &_major, &_minor, &_rev))