Change text background to draw item

This commit is contained in:
Dan Paulat 2021-12-18 22:45:29 -06:00
parent 0945eff733
commit 689f3dc464
8 changed files with 24 additions and 113 deletions

View file

@ -67,9 +67,7 @@ void DrawLayer::Render(const QMapbox::CustomLayerRenderParameters& params)
glm::mat4 projection = glm::ortho(0.0f,
static_cast<float>(params.width),
0.0f,
static_cast<float>(params.height),
-10.0f,
10.0f);
static_cast<float>(params.height));
gl.glUniformMatrix4fv(
p->uMVPMatrixLocation_, 1, GL_FALSE, glm::value_ptr(projection));