summaryrefslogtreecommitdiffstats
path: root/Tests/IncludeTest
diff options
context:
space:
mode:
authorassiduous <assiduous@diligentgraphics.com>2020-05-09 05:51:38 +0000
committerassiduous <assiduous@diligentgraphics.com>2020-05-09 05:51:38 +0000
commit2c877d95ab04b3aa4a0946ee4d5c3f755a76229a (patch)
tree9f634f86370f04c13cd0db4bfa22d33ff400bdaa /Tests/IncludeTest
parentFixed Win32 compiler issues (diff)
downloadDiligentCore-2c877d95ab04b3aa4a0946ee4d5c3f755a76229a.tar.gz
DiligentCore-2c877d95ab04b3aa4a0946ee4d5c3f755a76229a.zip
Added option to specify bind target when creating texture from GL handle (API version 240058). Fixed https://github.com/DiligentGraphics/DiligentCore/issues/136
Diffstat (limited to 'Tests/IncludeTest')
-rw-r--r--Tests/IncludeTest/GraphicsEngineOpenGL/RenderDeviceGL_test.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Tests/IncludeTest/GraphicsEngineOpenGL/RenderDeviceGL_test.c b/Tests/IncludeTest/GraphicsEngineOpenGL/RenderDeviceGL_test.c
index 8218b927..24e38d88 100644
--- a/Tests/IncludeTest/GraphicsEngineOpenGL/RenderDeviceGL_test.c
+++ b/Tests/IncludeTest/GraphicsEngineOpenGL/RenderDeviceGL_test.c
@@ -29,7 +29,7 @@
void TestRenderDeviceGL_CInterface(IRenderDeviceGL* pDevice)
{
- IRenderDeviceGL_CreateTextureFromGLHandle(pDevice, (Uint32)0, (TextureDesc*)NULL, RESOURCE_STATE_SHADER_RESOURCE, (ITexture**)NULL);
+ IRenderDeviceGL_CreateTextureFromGLHandle(pDevice, (Uint32)0, (Uint32)0, (TextureDesc*)NULL, RESOURCE_STATE_SHADER_RESOURCE, (ITexture**)NULL);
IRenderDeviceGL_CreateBufferFromGLHandle(pDevice, (Uint32)0, (BufferDesc*)NULL, RESOURCE_STATE_CONSTANT_BUFFER, (IBuffer**)NULL);
IRenderDeviceGL_CreateDummyTexture(pDevice, (TextureDesc*)NULL, RESOURCE_STATE_SHADER_RESOURCE, (ITexture**)NULL);
}