mirror of
				https://gitlab.freedesktop.org/wlroots/wlroots.git
				synced 2025-11-03 09:01:40 -05:00 
			
		
		
		
	Merge pull request #39 from acrisci/bug/fix-wl-enum-touch
Use correct pixel format enum in touch example
This commit is contained in:
		
						commit
						2bfacc63d3
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
					@ -106,7 +106,7 @@ int main(int argc, char *argv[]) {
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	state.renderer = wlr_gles2_renderer_init();
 | 
						state.renderer = wlr_gles2_renderer_init();
 | 
				
			||||||
	state.cat_texture = wlr_render_surface_init(state.renderer);
 | 
						state.cat_texture = wlr_render_surface_init(state.renderer);
 | 
				
			||||||
	wlr_surface_attach_pixels(state.cat_texture, GL_RGBA,
 | 
						wlr_surface_attach_pixels(state.cat_texture, WL_SHM_FORMAT_ARGB8888,
 | 
				
			||||||
		cat_tex.width, cat_tex.width, cat_tex.height, cat_tex.pixel_data);
 | 
							cat_tex.width, cat_tex.width, cat_tex.height, cat_tex.pixel_data);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	compositor_run(&compositor);
 | 
						compositor_run(&compositor);
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue