From 10296333bee1ff771b105e7849ba9fdd298cd741 Mon Sep 17 00:00:00 2001 From: LaurentGom Date: Wed, 2 Dec 2009 20:50:21 +0000 Subject: [PATCH] Fixed minor warnings after the last commit git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1298 4e206d99-4929-0410-ac5d-dfc041789085 --- include/SFML/Graphics/RenderQueue.hpp | 4 ++-- src/SFML/Graphics/GeometryRendererVBO.hpp | 8 ++++---- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/include/SFML/Graphics/RenderQueue.hpp b/include/SFML/Graphics/RenderQueue.hpp index 49e761da..2744079a 100644 --- a/include/SFML/Graphics/RenderQueue.hpp +++ b/include/SFML/Graphics/RenderQueue.hpp @@ -349,8 +349,8 @@ private : BatchArray myBatches; ///< Blocks of geometry to render VertexArray myVertices; ///< Geometry to be rendered IndexArray myIndices; ///< Indices defining the triangles to be rendered - std::size_t myCurrentVertexCount; ///< Current number of vertices in the vertex array - std::size_t myCurrentIndexCount; ///< Current number of indices in the index array + Uint32 myCurrentVertexCount; ///< Current number of vertices in the vertex array + Uint32 myCurrentIndexCount; ///< Current number of indices in the index array }; } // namespace sf diff --git a/src/SFML/Graphics/GeometryRendererVBO.hpp b/src/SFML/Graphics/GeometryRendererVBO.hpp index 8c86606c..fcca0495 100644 --- a/src/SFML/Graphics/GeometryRendererVBO.hpp +++ b/src/SFML/Graphics/GeometryRendererVBO.hpp @@ -103,10 +103,10 @@ public : //////////////////////////////////////////////////////////// // Member data //////////////////////////////////////////////////////////// - GLuint myVertexBuffer; ///< Identifier of the vertex buffer - GLuint myIndexBuffer; ///< Identifier of the index buffer - Uint32 myVertexBufferSize; ///< Size of the vertex buffer - Uint32 myIndexBufferSize; ///< Size of the index buffer + GLuint myVertexBuffer; ///< Identifier of the vertex buffer + GLuint myIndexBuffer; ///< Identifier of the index buffer + std::size_t myVertexBufferSize; ///< Size of the vertex buffer + std::size_t myIndexBufferSize; ///< Size of the index buffer }; } // namespace priv