From 2a0f9a6b4c4e71a21711f794b864ecb0f27f300d Mon Sep 17 00:00:00 2001 From: assiduous Date: Mon, 27 Jan 2020 12:34:52 -0800 Subject: Fixed class vs struct issues. Implemented HLSL2GLSL Convertor C interfaces --- Graphics/GraphicsEngine/include/BufferViewBase.hpp | 3 --- Graphics/GraphicsEngine/include/FenceBase.hpp | 3 --- Graphics/GraphicsEngine/include/QueryBase.hpp | 2 -- Graphics/GraphicsEngine/include/TextureViewBase.hpp | 4 ++-- 4 files changed, 2 insertions(+), 10 deletions(-) (limited to 'Graphics/GraphicsEngine') diff --git a/Graphics/GraphicsEngine/include/BufferViewBase.hpp b/Graphics/GraphicsEngine/include/BufferViewBase.hpp index 13c4610b..313fcf21 100644 --- a/Graphics/GraphicsEngine/include/BufferViewBase.hpp +++ b/Graphics/GraphicsEngine/include/BufferViewBase.hpp @@ -38,9 +38,6 @@ namespace Diligent { -class IRenderDevice; -class IBuffer; - /// Template class implementing base functionality for a buffer view object /// \tparam BaseInterface - base interface that this class will inheret diff --git a/Graphics/GraphicsEngine/include/FenceBase.hpp b/Graphics/GraphicsEngine/include/FenceBase.hpp index 97e9904c..e6a21bbf 100644 --- a/Graphics/GraphicsEngine/include/FenceBase.hpp +++ b/Graphics/GraphicsEngine/include/FenceBase.hpp @@ -37,9 +37,6 @@ namespace Diligent { -class IRenderDevice; -class IFence; - /// Template class implementing base functionality for a Fence object /// \tparam BaseInterface - base interface that this class will inheret diff --git a/Graphics/GraphicsEngine/include/QueryBase.hpp b/Graphics/GraphicsEngine/include/QueryBase.hpp index 701b7d2b..cf6061f3 100644 --- a/Graphics/GraphicsEngine/include/QueryBase.hpp +++ b/Graphics/GraphicsEngine/include/QueryBase.hpp @@ -38,8 +38,6 @@ namespace Diligent { -class IDeviceContext; - /// Template class implementing base functionality for a Query object /// \tparam BaseInterface - base interface that this class will inheret diff --git a/Graphics/GraphicsEngine/include/TextureViewBase.hpp b/Graphics/GraphicsEngine/include/TextureViewBase.hpp index e9bf3c75..905c9201 100644 --- a/Graphics/GraphicsEngine/include/TextureViewBase.hpp +++ b/Graphics/GraphicsEngine/include/TextureViewBase.hpp @@ -63,7 +63,7 @@ public: TextureViewBase(IReferenceCounters* pRefCounters, RenderDeviceImplType* pDevice, const TextureViewDesc& ViewDesc, - class ITexture* pTexture, + ITexture* pTexture, bool bIsDefaultView) : // Default views are created as part of the texture, so we cannot not keep strong // reference to the texture to avoid cyclic links. Instead, we will attach to the @@ -77,7 +77,7 @@ public: IMPLEMENT_QUERY_INTERFACE_IN_PLACE(IID_TextureView, TDeviceObjectBase) /// Implementation of ITextureView::SetSampler() - virtual void SetSampler(class ISampler* pSampler) override final + virtual void SetSampler(ISampler* pSampler) override final { #ifdef DEVELOPMENT if (this->m_Desc.ViewType != TEXTURE_VIEW_SHADER_RESOURCE) -- cgit v1.2.3