remove hasData() from Bucket interface
This commit is contained in:
@@ -21,10 +21,6 @@ void DebugBucket::render(Painter &painter, const StyleLayer & /*layer_desc*/,
|
||||
painter.renderDebugText(*this, matrix);
|
||||
}
|
||||
|
||||
bool DebugBucket::hasData() const {
|
||||
return fontBuffer.index() > 0;
|
||||
}
|
||||
|
||||
void DebugBucket::drawLines(PlainShader& shader) {
|
||||
array.bind(shader, fontBuffer, BUFFER_OFFSET(0));
|
||||
MBGL_CHECK_ERROR(glDrawArrays(GL_LINES, 0, (GLsizei)(fontBuffer.index())));
|
||||
|
||||
Reference in New Issue
Block a user