From e0a84da26ac607d6f36d1b1de698c05bab8b6235 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladim=C3=ADr=20Vondru=C5=A1?= Date: Mon, 6 Jul 2015 12:14:09 +0200 Subject: [PATCH] Properly test 2D texture depth stencil mode on ES3. Wasn't enabled for ES by mistake. --- src/Magnum/Test/TextureArrayGLTest.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/Magnum/Test/TextureArrayGLTest.cpp b/src/Magnum/Test/TextureArrayGLTest.cpp index ebeeeda31..175be35c3 100644 --- a/src/Magnum/Test/TextureArrayGLTest.cpp +++ b/src/Magnum/Test/TextureArrayGLTest.cpp @@ -174,8 +174,11 @@ TextureArrayGLTest::TextureArrayGLTest() { &TextureArrayGLTest::samplingBorderInteger1D, &TextureArrayGLTest::samplingBorderInteger2D, &TextureArrayGLTest::samplingDepthStencilMode1D, + #endif + #ifndef MAGNUM_TARGET_GLES2 &TextureArrayGLTest::samplingDepthStencilMode2D, - #else + #endif + #ifdef MAGNUM_TARGET_GLES &TextureArrayGLTest::samplingBorder2D, #endif