mirror of
				https://github.com/ciphervance/supercell-wx.git
				synced 2025-10-31 05:30:05 +00:00 
			
		
		
		
	Namespace cleanup
This commit is contained in:
		
							parent
							
								
									c22db501b3
								
							
						
					
					
						commit
						5a97d99a34
					
				
					 20 changed files with 88 additions and 46 deletions
				
			
		|  | @ -28,7 +28,7 @@ public: | |||
| 
 | ||||
|    ~FontBufferImpl() {} | ||||
| 
 | ||||
|    void RenderSetup(OpenGLFunctions& gl) | ||||
|    void RenderSetup(gl::OpenGLFunctions& gl) | ||||
|    { | ||||
|       // Generate and setup VAO
 | ||||
|       gl.glGenVertexArrays(1, &vaoId_); | ||||
|  | @ -64,7 +64,7 @@ public: | |||
|       gl.glBindBuffer(GL_ELEMENT_ARRAY_BUFFER, indicesId_); | ||||
|    } | ||||
| 
 | ||||
|    void Upload(OpenGLFunctions& gl) | ||||
|    void Upload(gl::OpenGLFunctions& gl) | ||||
|    { | ||||
|       if (verticesId_ == GL_INVALID_INDEX) | ||||
|       { | ||||
|  | @ -157,7 +157,7 @@ void FontBuffer::Push(std::initializer_list<GLuint>  indices, | |||
|    p->vertices_.insert(p->vertices_.end(), vertices); | ||||
| } | ||||
| 
 | ||||
| void FontBuffer::Render(OpenGLFunctions& gl) | ||||
| void FontBuffer::Render(gl::OpenGLFunctions& gl) | ||||
| { | ||||
|    std::scoped_lock lock(p->mutex_); | ||||
| 
 | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Dan Paulat
						Dan Paulat