summaryrefslogtreecommitdiff
path: root/src/mbgl/gl/attribute.cpp
blob: 4dd102400dd67706962e9ebb8469f465b8df1dab (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#include <mbgl/gl/attribute.hpp>
#include <mbgl/gl/gl.hpp>

namespace mbgl {
namespace gl {

AttributeLocation bindAttributeLocation(ProgramID id, AttributeLocation location, const char* name) {
    MBGL_CHECK_ERROR(glBindAttribLocation(id, location, name));
    return location;
}

} // namespace gl
} // namespace mbgl