[core] GL types for buckets, textures, buffers

This commit is contained in:
Bruno de Oliveira Abinader
2015-09-10 17:59:58 +03:00
committed by Konstantin Käfer
parent 05d01194b7
commit c33a6bddc6
15 changed files with 56 additions and 53 deletions

View File

@@ -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]);
}
}