From 946884fb264969aa03e5d266d2349c8a74e5cf55 Mon Sep 17 00:00:00 2001 From: Egor Yusov Date: Tue, 24 Jul 2018 21:45:59 -0700 Subject: Updated VertexStreamInfo to use final buffer implementation type --- Graphics/GraphicsEngineOpenGL/include/VAOCache.h | 3 ++- Graphics/GraphicsEngineOpenGL/src/VAOCache.cpp | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) (limited to 'Graphics/GraphicsEngineOpenGL') 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 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 VertexStreams[], Uint32 NumVertexStreams, GLContextState &GLContextState ) { -- cgit v1.2.3