From 1f94067981438498e3dbaaa2f66544062b180d20 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladim=C3=ADr=20Vondru=C5=A1?= Date: Fri, 28 Apr 2017 21:34:57 +0200 Subject: [PATCH] Implementation: doc++, minor cleanup. --- src/Magnum/Implementation/driverSpecific.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/Magnum/Implementation/driverSpecific.cpp b/src/Magnum/Implementation/driverSpecific.cpp index e2ea72fd0..1659ea33a 100644 --- a/src/Magnum/Implementation/driverSpecific.cpp +++ b/src/Magnum/Implementation/driverSpecific.cpp @@ -33,6 +33,7 @@ namespace Magnum { namespace { + /* Search the code for the following strings to see where they are implemented. */ std::vector KnownWorkarounds{ #if !defined(MAGNUM_TARGET_GLES) && !defined(CORRADE_TARGET_APPLE) /* Creating core context with specific version on AMD and NV @@ -59,7 +60,7 @@ namespace { "nv-windows-dangling-transform-feedback-varying-names", #endif - #if !defined(MAGNUM_TARGET_GLES) + #ifndef MAGNUM_TARGET_GLES /* Layout qualifier causes compiler error with GLSL 1.20 on Mesa, GLSL 1.30 on NVidia and 1.40 on Mac OS X. Everything is fine when using newer GLSL version. */