diff options
| author | assiduous <assiduous@diligentgraphics.com> | 2020-05-09 05:51:38 +0000 |
|---|---|---|
| committer | assiduous <assiduous@diligentgraphics.com> | 2020-05-09 05:51:38 +0000 |
| commit | 2c877d95ab04b3aa4a0946ee4d5c3f755a76229a (patch) | |
| tree | 9f634f86370f04c13cd0db4bfa22d33ff400bdaa /Tests/IncludeTest | |
| parent | Fixed Win32 compiler issues (diff) | |
| download | DiligentCore-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.c | 2 |
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); } |
