[core] Remove redundant setDebug() from Painter
This information can be obtained directly from MapData.
This commit is contained in:
@@ -113,10 +113,6 @@ void Painter::resize() {
|
||||
}
|
||||
}
|
||||
|
||||
void Painter::setDebug(bool enabled) {
|
||||
debug = enabled;
|
||||
}
|
||||
|
||||
void Painter::useProgram(GLuint program) {
|
||||
if (gl_program != program) {
|
||||
MBGL_CHECK_ERROR(glUseProgram(program));
|
||||
|
||||
Reference in New Issue
Block a user