mirror of
				https://github.com/wizbright/waybox.git
				synced 2025-10-29 05:40:20 -04:00 
			
		
		
		
	
							parent
							
								
									782037f04c
								
							
						
					
					
						commit
						60b0f50a62
					
				
					 1 changed files with 3 additions and 3 deletions
				
			
		|  | @ -24,11 +24,11 @@ void output_frame_notify(struct wl_listener *listener, void *data) { | |||
| 		} | ||||
| 		struct wlr_box render_box = { | ||||
| 			.x = 20, .y = 20, | ||||
| 			.width = surface->current->width, | ||||
| 			.height = surface->current->height | ||||
| 			.width = surface->current.width, | ||||
| 			.height = surface->current.height | ||||
| 		}; | ||||
| 		float matrix[16]; | ||||
|         wlr_matrix_project_box(matrix, &render_box, surface->current->transform, | ||||
|         wlr_matrix_project_box(matrix, &render_box, surface->current.transform, | ||||
| 			    0, wlr_output->transform_matrix); | ||||
| 		struct wlr_texture *texture = wlr_surface_get_texture(surface); | ||||
| 	    wlr_render_texture_with_matrix(renderer, texture, matrix, 1.0f); | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Veselin Ivanov
						Veselin Ivanov