From 82d47e82e997809c54a21dfadf52d12a01e91576 Mon Sep 17 00:00:00 2001 From: Lioncash Date: Thu, 18 Jun 2020 12:42:34 -0400 Subject: [PATCH] CUniformBuffer: uint -> uint32 --- src/Core/OpenGL/CUniformBuffer.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/Core/OpenGL/CUniformBuffer.h b/src/Core/OpenGL/CUniformBuffer.h index a9142589..9bc01b81 100644 --- a/src/Core/OpenGL/CUniformBuffer.h +++ b/src/Core/OpenGL/CUniformBuffer.h @@ -7,7 +7,7 @@ class CUniformBuffer { GLuint mUniformBuffer; - uint mBufferSize; + uint32 mBufferSize; public: @@ -17,7 +17,7 @@ public: SetBufferSize(0); } - explicit CUniformBuffer(uint Size) + explicit CUniformBuffer(uint32 Size) { glGenBuffers(1, &mUniformBuffer); SetBufferSize(Size); @@ -52,20 +52,20 @@ public: Unbind(); } - void BufferRange(const void *pkData, uint Offset, uint Size) + void BufferRange(const void *pkData, uint32 Offset, uint32 Size) { Bind(); glBufferSubData(GL_UNIFORM_BUFFER, Offset, Size, pkData); Unbind(); } - void SetBufferSize(uint Size) + void SetBufferSize(uint32 Size) { mBufferSize = Size; InitializeBuffer(); } - uint GetBufferSize() const + uint32 GetBufferSize() const { return mBufferSize; }