From 5922c859a2abae6bcd929130b64cf0d6bf930302 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladim=C3=ADr=20Vondru=C5=A1?= Date: Sun, 27 Sep 2015 21:40:31 +0200 Subject: [PATCH] Don't compile desktop-only stuff on ES. --- src/Magnum/Implementation/driverSpecific.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Magnum/Implementation/driverSpecific.cpp b/src/Magnum/Implementation/driverSpecific.cpp index 52d9c88f0..018f94c48 100644 --- a/src/Magnum/Implementation/driverSpecific.cpp +++ b/src/Magnum/Implementation/driverSpecific.cpp @@ -34,7 +34,7 @@ namespace Implementation { /* Used in Shader.cpp (duh) */ bool isShaderCompilationLogEmpty(const std::string&); bool isShaderCompilationLogEmpty(const std::string& result) { - #ifdef CORRADE_TARGET_WINDOWS + #if defined(CORRADE_TARGET_WINDOWS) && !defined(MAGNUM_TARGET_GLES) /* Intel Windows drivers are too chatty */ if((Context::current()->detectedDriver() & Context::DetectedDriver::IntelWindows) && result == "No errors.\n") return true; @@ -48,7 +48,7 @@ bool isShaderCompilationLogEmpty(const std::string& result) { /* Used in AbstractShaderProgram.cpp (duh) */ bool isProgramLinkLogEmpty(const std::string&); bool isProgramLinkLogEmpty(const std::string& result) { - #ifdef CORRADE_TARGET_WINDOWS + #if defined(CORRADE_TARGET_WINDOWS) && !defined(MAGNUM_TARGET_GLES) /* Intel Windows drivers are too chatty */ if((Context::current()->detectedDriver() & Context::DetectedDriver::IntelWindows) && result == "No errors.\n") return true;