[core] Remove redundant setDebug() from Painter

This information can be obtained directly from MapData.
This commit is contained in:
Bruno de Oliveira Abinader
2015-10-20 12:10:07 -07:00
parent 5db4670d78
commit ad3078e73d
4 changed files with 1 additions and 10 deletions

View File

@@ -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));