From 7b3bc093b39ed5b9296e75bcafcbf00ab22c395a Mon Sep 17 00:00:00 2001 From: Daniel Evans Date: Tue, 21 Aug 2018 01:12:07 +0100 Subject: [PATCH] Use array in place of vector for draw texture state --- rwengine/src/render/OpenGLRenderer.hpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/rwengine/src/render/OpenGLRenderer.hpp b/rwengine/src/render/OpenGLRenderer.hpp index a76ebea3..e6849ca9 100644 --- a/rwengine/src/render/OpenGLRenderer.hpp +++ b/rwengine/src/render/OpenGLRenderer.hpp @@ -7,6 +7,7 @@ #include #include #include +#include #include @@ -69,7 +70,7 @@ enum class DepthMode { class Renderer { public: - typedef std::vector Textures; + typedef std::array Textures; /** * @brief The DrawParameters struct stores drawing state