Skip to content

Commit

Permalink
glemu const -> constexpr for #210
Browse files Browse the repository at this point in the history
  • Loading branch information
no-lex committed Jun 8, 2021
1 parent 678752f commit eb54e22
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/shared/glemu.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -34,11 +34,11 @@ namespace gle
static std::vector<GLint> multidrawstart;
static std::vector<GLsizei> multidrawcount;

static const int maxquads = (0x10000/4); //65635/4 = 16384
static constexpr int maxquads = (0x10000/4); //65635/4 = 16384
static GLuint quadindexes = 0;
static bool quadsenabled = false;

static const int maxvbosize = (1024*1024*4);
static constexpr int maxvbosize = (1024*1024*4);
static GLuint vbo = 0;
static int vbooffset = maxvbosize;

Expand Down

0 comments on commit eb54e22

Please sign in to comment.