diff options
| author | Egor Yusov <egor.yusov@gmail.com> | 2018-07-25 04:45:59 +0000 |
|---|---|---|
| committer | Egor Yusov <egor.yusov@gmail.com> | 2018-07-25 04:45:59 +0000 |
| commit | 946884fb264969aa03e5d266d2349c8a74e5cf55 (patch) | |
| tree | d70f8ec7977f829588e7bf8250ab1040981d3df0 /Graphics/GraphicsEngineOpenGL | |
| parent | Updated DeviceContextBase to use final types for pipeline state, buffers and ... (diff) | |
| download | DiligentCore-946884fb264969aa03e5d266d2349c8a74e5cf55.tar.gz DiligentCore-946884fb264969aa03e5d266d2349c8a74e5cf55.zip | |
Updated VertexStreamInfo to use final buffer implementation type
Diffstat (limited to 'Graphics/GraphicsEngineOpenGL')
| -rw-r--r-- | Graphics/GraphicsEngineOpenGL/include/VAOCache.h | 3 | ||||
| -rw-r--r-- | Graphics/GraphicsEngineOpenGL/src/VAOCache.cpp | 2 |
2 files changed, 3 insertions, 2 deletions
diff --git a/Graphics/GraphicsEngineOpenGL/include/VAOCache.h b/Graphics/GraphicsEngineOpenGL/include/VAOCache.h index 5b064b50..2160d97f 100644 --- a/Graphics/GraphicsEngineOpenGL/include/VAOCache.h +++ b/Graphics/GraphicsEngineOpenGL/include/VAOCache.h @@ -31,6 +31,7 @@ #include "HashUtils.h" #include "DeviceContextBase.h" #include "BaseInterfacesGL.h" +#include "BufferGLImpl.h" namespace Diligent { @@ -50,7 +51,7 @@ public: const GLObjectWrappers::GLVertexArrayObj& GetVAO( IPipelineState *pPSO, IBuffer *pIndexBuffer, - VertexStreamInfo VertexStreams[], + VertexStreamInfo<BufferGLImpl> VertexStreams[], Uint32 NumVertexStreams, class GLContextState &GLContextState); const GLObjectWrappers::GLVertexArrayObj& GetEmptyVAO(); diff --git a/Graphics/GraphicsEngineOpenGL/src/VAOCache.cpp b/Graphics/GraphicsEngineOpenGL/src/VAOCache.cpp index 18ad1ff8..04c2789c 100644 --- a/Graphics/GraphicsEngineOpenGL/src/VAOCache.cpp +++ b/Graphics/GraphicsEngineOpenGL/src/VAOCache.cpp @@ -73,7 +73,7 @@ void VAOCache::OnDestroyPSO(IPipelineState *pPSO) const GLObjectWrappers::GLVertexArrayObj& VAOCache::GetVAO( IPipelineState *pPSO, IBuffer *pIndexBuffer, - VertexStreamInfo VertexStreams[], + VertexStreamInfo<BufferGLImpl> VertexStreams[], Uint32 NumVertexStreams, GLContextState &GLContextState ) { |
