summaryrefslogtreecommitdiffstats
path: root/Tests/TestApp/src/TestTextureCreation.cpp
diff options
context:
space:
mode:
authorEgor Yusov <egor.yusov@gmail.com>2018-03-04 20:35:31 +0000
committerEgor Yusov <egor.yusov@gmail.com>2018-03-04 20:35:31 +0000
commit4ce52374ba2cecc80669db630dfea6cf34f76965 (patch)
tree5d5dfebbbca0f2a5df5f5c057f30d478be9d5921 /Tests/TestApp/src/TestTextureCreation.cpp
parentUpdated cmake files to handle the case when D3D12 is not supported on Win32 (diff)
downloadDiligentEngine-4ce52374ba2cecc80669db630dfea6cf34f76965.tar.gz
DiligentEngine-4ce52374ba2cecc80669db630dfea6cf34f76965.zip
Enabled build with Win8.1 SDK
Replaced OPENGL_SUPPORTED macro with GL_SUPPORTED and GLES_SUPPORTED
Diffstat (limited to 'Tests/TestApp/src/TestTextureCreation.cpp')
-rw-r--r--Tests/TestApp/src/TestTextureCreation.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/Tests/TestApp/src/TestTextureCreation.cpp b/Tests/TestApp/src/TestTextureCreation.cpp
index bb95e15..acaccaa 100644
--- a/Tests/TestApp/src/TestTextureCreation.cpp
+++ b/Tests/TestApp/src/TestTextureCreation.cpp
@@ -36,7 +36,7 @@
#include "TestCreateObjFromNativeResD3D12.h"
#endif
-#if OPENGL_SUPPORTED
+#if GL_SUPPORTED || GLES_SUPPORTED
#include "TestCreateObjFromNativeResGL.h"
#endif
@@ -68,7 +68,7 @@ public:
break;
#endif
-#if OPENGL_SUPPORTED
+#if GL_SUPPORTED || GLES_SUPPORTED
case DeviceType::OpenGL:
case DeviceType::OpenGLES:
m_pTestCreateObjFromNativeRes.reset(new TestCreateObjFromNativeResGL(pDevice));