mirror of
https://github.com/ciphervance/supercell-wx.git
synced 2025-10-30 08:20: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);
|
||||
|
||||
// aDisplayed
|
||||
gl.glVertexAttribPointer(7,
|
||||
1,
|
||||
GL_INT,
|
||||
GL_FALSE,
|
||||
kIntegersPerVertex_ * sizeof(GLint),
|
||||
reinterpret_cast<void*>(3 * sizeof(float)));
|
||||
gl.glVertexAttribIPointer(7,
|
||||
1,
|
||||
GL_INT,
|
||||
kIntegersPerVertex_ * sizeof(GLint),
|
||||
reinterpret_cast<void*>(3 * sizeof(GLint)));
|
||||
gl.glEnableVertexAttribArray(7);
|
||||
|
||||
p->dirty_ = true;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue