mirror of
https://github.com/ciphervance/supercell-wx.git
synced 2025-10-30 17:00:05 +00:00
Change text background to draw item
This commit is contained in:
parent
0945eff733
commit
689f3dc464
8 changed files with 24 additions and 113 deletions
|
|
@ -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));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue