diff options
Diffstat (limited to 'Tests/TestApp/src')
| -rw-r--r-- | Tests/TestApp/src/TestApp.cpp | 10 | ||||
| -rw-r--r-- | Tests/TestApp/src/TestBufferCreation.cpp | 4 | ||||
| -rw-r--r-- | Tests/TestApp/src/TestTextureCreation.cpp | 4 |
3 files changed, 9 insertions, 9 deletions
diff --git a/Tests/TestApp/src/TestApp.cpp b/Tests/TestApp/src/TestApp.cpp index 49609c2..2e5509e 100644 --- a/Tests/TestApp/src/TestApp.cpp +++ b/Tests/TestApp/src/TestApp.cpp @@ -37,7 +37,7 @@ # include "RenderDeviceFactoryD3D12.h" #endif -#if OPENGL_SUPPORTED +#if GL_SUPPORTED || GLES_SUPPORTED # include "RenderDeviceFactoryOpenGL.h" #endif @@ -51,8 +51,8 @@ #include "TestRasterizerState.h" #include "TestBlendState.h" #include "TestVPAndSR.h" -#if OPENGL_SUPPORTED -#include "ShaderConverterTest.h" +#if GL_SUPPORTED || GLES_SUPPORTED + #include "ShaderConverterTest.h" #endif #include "TestCopyTexData.h" #include "PlatformMisc.h" @@ -127,7 +127,7 @@ void TestApp::InitializeDiligentEngine( break; #endif -#if OPENGL_SUPPORTED +#if GL_SUPPORTED || GLES_SUPPORTED case DeviceType::OpenGL: case DeviceType::OpenGLES: { @@ -184,7 +184,7 @@ void TestApp::InitializeRenderers() m_pTestShaderResArrays.reset(new TestShaderResArrays(m_pDevice, m_pImmediateContext, bUseOpenGL, 0.4f, -0.9f, 0.5f, 0.5f)); m_pMTResCreationTest.reset(new MTResourceCreationTest(m_pDevice, m_pImmediateContext, 7)); -#if OPENGL_SUPPORTED +#if GL_SUPPORTED || GLES_SUPPORTED ShaderConverterTest ConverterTest(m_pDevice, m_pImmediateContext); #endif TestSamplerCreation TestSamplers(m_pDevice); 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)); 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)); |
