mirror of
				https://github.com/ciphervance/supercell-wx.git
				synced 2025-10-30 17:00:05 +00:00 
			
		
		
		
	Fix rendering of placefile icons, now works on one map
This commit is contained in:
		
							parent
							
								
									f074e487de
								
							
						
					
					
						commit
						bc1bf8cef6
					
				
					 5 changed files with 32 additions and 21 deletions
				
			
		|  | @ -45,6 +45,7 @@ void DrawLayer::Initialize() | |||
| void DrawLayer::Render(const QMapLibreGL::CustomLayerRenderParameters& params) | ||||
| { | ||||
|    gl::OpenGLFunctions& gl = p->context_->gl(); | ||||
|    p->textureAtlas_        = p->context_->GetTextureAtlas(); | ||||
| 
 | ||||
|    gl.glActiveTexture(GL_TEXTURE0); | ||||
|    gl.glBindTexture(GL_TEXTURE_2D, p->textureAtlas_); | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Dan Paulat
						Dan Paulat