mirror of
				https://github.com/ciphervance/supercell-wx.git
				synced 2025-10-31 04:30:05 +00:00 
			
		
		
		
	Ensure sweep is updated after being deferred due to lock during initialization
This commit is contained in:
		
							parent
							
								
									2723ad1966
								
							
						
					
					
						commit
						bb335ceb31
					
				
					 1 changed files with 2 additions and 0 deletions
				
			
		|  | @ -125,10 +125,12 @@ void RadarProductLayer::Initialize() | |||
|    gl.glGenBuffers(3, p->vbo_.data()); | ||||
| 
 | ||||
|    // Update radar sweep
 | ||||
|    p->sweepNeedsUpdate_ = true; | ||||
|    UpdateSweep(); | ||||
| 
 | ||||
|    // Create color table
 | ||||
|    gl.glGenTextures(1, &p->texture_); | ||||
|    p->colorTableNeedsUpdate_ = true; | ||||
|    UpdateColorTable(); | ||||
|    gl.glTexParameteri(GL_TEXTURE_1D, GL_TEXTURE_MIN_FILTER, GL_NEAREST); | ||||
|    gl.glTexParameteri(GL_TEXTURE_1D, GL_TEXTURE_MAG_FILTER, GL_NEAREST); | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Dan Paulat
						Dan Paulat