summaryrefslogtreecommitdiffstats
path: root/Tests/TestApp/src/TestBufferCreation.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Tests/TestApp/src/TestBufferCreation.cpp')
-rw-r--r--Tests/TestApp/src/TestBufferCreation.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/Tests/TestApp/src/TestBufferCreation.cpp b/Tests/TestApp/src/TestBufferCreation.cpp
index 872f4bd..f0f5b3d 100644
--- a/Tests/TestApp/src/TestBufferCreation.cpp
+++ b/Tests/TestApp/src/TestBufferCreation.cpp
@@ -32,7 +32,7 @@
#include "TestCreateObjFromNativeResD3D12.h"
#endif
-#if OPENGL_SUPPORTED
+#if GL_SUPPORTED || GLES_SUPPORTED
#include "TestCreateObjFromNativeResGL.h"
#endif
@@ -58,7 +58,7 @@ TestBufferCreation::TestBufferCreation(Diligent::IRenderDevice *pDevice, Diligen
break;
#endif
-#if OPENGL_SUPPORTED
+#if GL_SUPPORTED || GLES_SUPPORTED
case DeviceType::OpenGL:
case DeviceType::OpenGLES:
pTestCreateObjFromNativeRes.reset(new TestCreateObjFromNativeResGL(pDevice));