summaryrefslogtreecommitdiffstats
path: root/Graphics/GraphicsEngineOpenGL
diff options
context:
space:
mode:
Diffstat (limited to 'Graphics/GraphicsEngineOpenGL')
-rw-r--r--Graphics/GraphicsEngineOpenGL/include/VAOCache.h3
-rw-r--r--Graphics/GraphicsEngineOpenGL/src/VAOCache.cpp2
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 )
{