1
0
mirror of https://github.com/rwengine/openrw.git synced 2024-09-15 06:52:34 +02:00

Use array in place of vector for draw texture state

This commit is contained in:
Daniel Evans 2018-08-21 01:12:07 +01:00
parent 14255e5fe1
commit 7b3bc093b3

View File

@ -7,6 +7,7 @@
#include <memory>
#include <string>
#include <vector>
#include <array>
#include <glm/glm.hpp>
@ -69,7 +70,7 @@ enum class DepthMode {
class Renderer {
public:
typedef std::vector<GLuint> Textures;
typedef std::array<GLuint,2> Textures;
/**
* @brief The DrawParameters struct stores drawing state