From 09fae5afcd4c43d7e6d32af94e03f8aab32bced1 Mon Sep 17 00:00:00 2001 From: Egor Yusov Date: Sun, 26 Aug 2018 20:36:01 -0700 Subject: Few minor updates --- Graphics/GraphicsEngine/include/BufferBase.h | 2 +- Graphics/GraphicsEngine/interface/Buffer.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'Graphics/GraphicsEngine') diff --git a/Graphics/GraphicsEngine/include/BufferBase.h b/Graphics/GraphicsEngine/include/BufferBase.h index 40e251f4..c676190c 100644 --- a/Graphics/GraphicsEngine/include/BufferBase.h +++ b/Graphics/GraphicsEngine/include/BufferBase.h @@ -268,7 +268,7 @@ void BufferBasem_Desc.Mode == BUFFER_MODE_RAW && this->m_Desc.ElementByteStride == 0) LOG_ERROR_AND_THROW("To enable formatted views of a raw buffer, element byte must be specified during buffer initialization"); if (ViewElementStride != this->m_Desc.ElementByteStride) - LOG_ERROR_AND_THROW("Buffer element byte stride (", this->m_Desc.ElementByteStride, ") is not consistent with the size (", ViewElementStride, ") defined by the fromat of the view (", GetBufferFormatString(ViewDesc.Format), ')' ); + LOG_ERROR_AND_THROW("Buffer element byte stride (", this->m_Desc.ElementByteStride, ") is not consistent with the size (", ViewElementStride, ") defined by the format of the view (", GetBufferFormatString(ViewDesc.Format), ')' ); } if (this->m_Desc.Mode == BUFFER_MODE_RAW && ViewDesc.Format.ValueType == VT_UNDEFINED) diff --git a/Graphics/GraphicsEngine/interface/Buffer.h b/Graphics/GraphicsEngine/interface/Buffer.h index 1f2f8d2d..dad8af5f 100644 --- a/Graphics/GraphicsEngine/interface/Buffer.h +++ b/Graphics/GraphicsEngine/interface/Buffer.h @@ -54,7 +54,7 @@ enum BUFFER_MODE : Uint8 /// Raw buffer. /// In this mode, the buffer is accessed as raw bytes. Formatted views of a raw - /// buffer can be also created similar to formatted buffer. If formatted views + /// buffer can also be created similar to formatted buffer. If formatted views /// are to be created, the ElementByteStride member of BufferDesc must specify the /// size of the format. BUFFER_MODE_RAW, -- cgit v1.2.3