mirror of
				https://gitlab.freedesktop.org/wlroots/wlroots.git
				synced 2025-11-03 09:01:40 -05:00 
			
		
		
		
	render/gles2: use correct type for shader type
Doesn't matter a lot, but let's try to be consistent with the GL headers.
This commit is contained in:
		
							parent
							
								
									cfa7696d7b
								
							
						
					
					
						commit
						0534d12b28
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -610,7 +610,7 @@ static void gles2_log(GLenum src, GLenum type, GLuint id, GLenum severity,
 | 
			
		|||
}
 | 
			
		||||
 | 
			
		||||
static GLuint compile_shader(struct wlr_gles2_renderer *renderer,
 | 
			
		||||
		GLuint type, const GLchar *src) {
 | 
			
		||||
		GLenum type, const GLchar *src) {
 | 
			
		||||
	push_gles2_debug(renderer);
 | 
			
		||||
 | 
			
		||||
	GLuint shader = glCreateShader(type);
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue