[core] s/GLObjectStore/ObjectStore/
This commit is contained in:
@@ -45,18 +45,18 @@ void Painter::renderDebugText(TileData& tileData, const mat4 &matrix) {
|
||||
// Draw white outline
|
||||
plainShader->u_color = {{ 1.0f, 1.0f, 1.0f, 1.0f }};
|
||||
config.lineWidth = 4.0f * frame.pixelRatio;
|
||||
tileData.debugBucket->drawLines(*plainShader, glObjectStore);
|
||||
tileData.debugBucket->drawLines(*plainShader, store);
|
||||
|
||||
#ifndef GL_ES_VERSION_2_0
|
||||
// Draw line "end caps"
|
||||
MBGL_CHECK_ERROR(glPointSize(2));
|
||||
tileData.debugBucket->drawPoints(*plainShader, glObjectStore);
|
||||
tileData.debugBucket->drawPoints(*plainShader, store);
|
||||
#endif
|
||||
|
||||
// Draw black text.
|
||||
plainShader->u_color = {{ 0.0f, 0.0f, 0.0f, 1.0f }};
|
||||
config.lineWidth = 2.0f * frame.pixelRatio;
|
||||
tileData.debugBucket->drawLines(*plainShader, glObjectStore);
|
||||
tileData.debugBucket->drawLines(*plainShader, store);
|
||||
|
||||
config.depthFunc.reset();
|
||||
config.depthTest = GL_TRUE;
|
||||
@@ -76,7 +76,7 @@ void Painter::renderDebugFrame(const mat4 &matrix) {
|
||||
plainShader->u_matrix = matrix;
|
||||
|
||||
// draw tile outline
|
||||
tileBorderArray.bind(*plainShader, tileBorderBuffer, BUFFER_OFFSET_0, glObjectStore);
|
||||
tileBorderArray.bind(*plainShader, tileBorderBuffer, BUFFER_OFFSET_0, store);
|
||||
plainShader->u_color = {{ 1.0f, 0.0f, 0.0f, 1.0f }};
|
||||
config.lineWidth = 4.0f * frame.pixelRatio;
|
||||
MBGL_CHECK_ERROR(glDrawArrays(GL_LINE_STRIP, 0, (GLsizei)tileBorderBuffer.index()));
|
||||
|
||||
Reference in New Issue
Block a user