mirror of
https://github.com/ciphervance/supercell-wx.git
synced 2025-10-30 19:50:05 +00:00
Apply GeoLines aDisplayed fix to GeoIcons
This commit is contained in:
parent
4cd0885023
commit
983e9b467d
1 changed files with 5 additions and 6 deletions
|
|
@ -256,12 +256,11 @@ void GeoIcons::Initialize()
|
||||||
gl.glEnableVertexAttribArray(6);
|
gl.glEnableVertexAttribArray(6);
|
||||||
|
|
||||||
// aDisplayed
|
// aDisplayed
|
||||||
gl.glVertexAttribPointer(7,
|
gl.glVertexAttribIPointer(7,
|
||||||
1,
|
1,
|
||||||
GL_INT,
|
GL_INT,
|
||||||
GL_FALSE,
|
kIntegersPerVertex_ * sizeof(GLint),
|
||||||
kIntegersPerVertex_ * sizeof(GLint),
|
reinterpret_cast<void*>(3 * sizeof(GLint)));
|
||||||
reinterpret_cast<void*>(3 * sizeof(float)));
|
|
||||||
gl.glEnableVertexAttribArray(7);
|
gl.glEnableVertexAttribArray(7);
|
||||||
|
|
||||||
p->dirty_ = true;
|
p->dirty_ = true;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue