[core] convert remaining types to use OpenGL header defined variants

This commit is contained in:
Bruno de Oliveira Abinader
2015-09-11 15:08:54 +03:00
committed by Konstantin Käfer
parent c33a6bddc6
commit a3ea4acb7c
13 changed files with 32 additions and 31 deletions

View File

@@ -5,8 +5,8 @@
using namespace mbgl;
size_t LineVertexBuffer::add(vertex_type x, vertex_type y, float ex, float ey, int8_t tx, int8_t ty, int32_t linesofar) {
size_t idx = index();
GLsizei LineVertexBuffer::add(vertex_type x, vertex_type y, float ex, float ey, int8_t tx, int8_t ty, int32_t linesofar) {
GLsizei idx = index();
void *data = addElement();
int16_t *coords = static_cast<int16_t *>(data);