mirror of
				https://github.com/ciphervance/supercell-wx.git
				synced 2025-10-31 08:10:06 +00:00 
			
		
		
		
	Merge pull request #326 from dpaulat/hotfix/geo-line-amd-display
Fix GeoLines Shader Usage
This commit is contained in:
		
						commit
						4cd0885023
					
				
					 1 changed files with 5 additions and 6 deletions
				
			
		|  | @ -230,12 +230,11 @@ void GeoLines::Initialize() | |||
|    gl.glEnableVertexAttribArray(6); | ||||
| 
 | ||||
|    // aDisplayed
 | ||||
|    gl.glVertexAttribPointer(7, | ||||
|    gl.glVertexAttribIPointer(7, | ||||
|                              1, | ||||
|                              GL_INT, | ||||
|                             GL_FALSE, | ||||
|                              kIntegersPerVertex_ * sizeof(GLint), | ||||
|                             reinterpret_cast<void*>(3 * sizeof(float))); | ||||
|                              reinterpret_cast<void*>(3 * sizeof(GLint))); | ||||
|    gl.glEnableVertexAttribArray(7); | ||||
| 
 | ||||
|    p->dirty_ = true; | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Dan Paulat
						Dan Paulat