[core] GL types for buckets, textures, buffers
This commit is contained in:
committed by
Konstantin Käfer
parent
05d01194b7
commit
c33a6bddc6
@@ -5,7 +5,7 @@
|
||||
|
||||
#include <vector>
|
||||
|
||||
const int TextureMax = 64;
|
||||
const GLsizei TextureMax = 64;
|
||||
|
||||
using namespace mbgl;
|
||||
|
||||
@@ -13,7 +13,7 @@ GLuint TexturePool::getTextureID() {
|
||||
if (texture_ids.empty()) {
|
||||
GLuint new_texture_ids[TextureMax];
|
||||
MBGL_CHECK_ERROR(glGenTextures(TextureMax, new_texture_ids));
|
||||
for (uint32_t id = 0; id < TextureMax; id++) {
|
||||
for (GLuint id = 0; id < TextureMax; id++) {
|
||||
texture_ids.insert(new_texture_ids[id]);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user