From 2ec933c00052ae8408c69d7f3de564c80e188605 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladim=C3=ADr=20Vondru=C5=A1?= Date: Mon, 16 Sep 2013 19:15:45 +0200 Subject: [PATCH] Indent the nested ifdefs for better readability. --- src/OpenGL.h | 33 ++++++++++++++++----------------- 1 file changed, 16 insertions(+), 17 deletions(-) diff --git a/src/OpenGL.h b/src/OpenGL.h index 69c70bcec..70b7d3a5c 100644 --- a/src/OpenGL.h +++ b/src/OpenGL.h @@ -33,32 +33,31 @@ /* Desktop OpenGL */ #ifndef MAGNUM_TARGET_GLES -#include + #include /* NaCl has its own gl2.h, the official one causes linker issues. Additionaly to NaCl's gl2ext.h we are including our own to prevent undeclared symbol errors with some recent extensions. */ #elif defined(CORRADE_TARGET_NACL) + /* Enable function prototypes (the supported ones shouldn't fail at link time) */ + #define GL_GLEXT_PROTOTYPES -/* Enable function prototypes (the supported ones shouldn't fail at link time) */ -#define GL_GLEXT_PROTOTYPES - -#include -#include -#undef __gl2ext_h_ -#include + #include + #include + #undef __gl2ext_h_ + #include /* Generic OpenGL ES */ #else -#include -#ifndef MAGNUM_TARGET_GLES2 -#include -#include -#else -#include -#include -#include -#endif + #include + #ifndef MAGNUM_TARGET_GLES2 + #include + #include + #else + #include + #include + #include + #endif #endif #endif