diff options
Diffstat (limited to 'src/mbgl/util/texture_pool.cpp')
-rw-r--r-- | src/mbgl/util/texture_pool.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mbgl/util/texture_pool.cpp b/src/mbgl/util/texture_pool.cpp index e4c33ce2a9..33bca01c05 100644 --- a/src/mbgl/util/texture_pool.cpp +++ b/src/mbgl/util/texture_pool.cpp @@ -9,7 +9,7 @@ using namespace mbgl; GLuint TexturePool::getTextureID() { if (texture_ids.empty()) { GLuint new_texture_ids[TextureMax]; - CHECK_ERROR(glGenTextures(TextureMax, new_texture_ids)); + MBGL_CHECK_ERROR(glGenTextures(TextureMax, new_texture_ids)); for (uint32_t id = 0; id < TextureMax; id++) { texture_ids.insert(new_texture_ids[id]); } @@ -51,7 +51,7 @@ void TexturePool::clearTextureIDs() { } if (!ids_to_remove.empty()) { - CHECK_ERROR(glDeleteTextures((GLsizei)ids_to_remove.size(), &ids_to_remove[0])); + MBGL_CHECK_ERROR(glDeleteTextures((GLsizei)ids_to_remove.size(), &ids_to_remove[0])); } texture_ids.clear(); |