[shader] bind() is now a pure virtual
- Shader::bind() now receives a GLbyte* - BUFFER_OFFSET now uses GLbyte
This commit is contained in:
@@ -14,7 +14,7 @@ PatternShader::PatternShader()
|
||||
) {
|
||||
}
|
||||
|
||||
void PatternShader::bind(char *offset) {
|
||||
void PatternShader::bind(GLbyte *offset) {
|
||||
MBGL_CHECK_ERROR(glEnableVertexAttribArray(a_pos));
|
||||
MBGL_CHECK_ERROR(glVertexAttribPointer(a_pos, 2, GL_SHORT, false, 0, offset));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user