mirror of
https://github.com/swaywm/sway.git
synced 2024-11-11 13:04:11 +01:00
Remove debug, add explicit TODO
This commit is contained in:
parent
50219564c2
commit
3a68c012a9
@ -198,7 +198,6 @@ static void render_layer(struct sway_output *output,
|
|||||||
|
|
||||||
static void render_output(struct sway_output *output, struct timespec *when,
|
static void render_output(struct sway_output *output, struct timespec *when,
|
||||||
pixman_region32_t *damage) {
|
pixman_region32_t *damage) {
|
||||||
wlr_log(L_DEBUG, "render");
|
|
||||||
struct wlr_output *wlr_output = output->wlr_output;
|
struct wlr_output *wlr_output = output->wlr_output;
|
||||||
struct wlr_renderer *renderer =
|
struct wlr_renderer *renderer =
|
||||||
wlr_backend_get_renderer(wlr_output->backend);
|
wlr_backend_get_renderer(wlr_output->backend);
|
||||||
@ -210,7 +209,7 @@ static void render_output(struct sway_output *output, struct timespec *when,
|
|||||||
goto renderer_end;
|
goto renderer_end;
|
||||||
}
|
}
|
||||||
|
|
||||||
// TODO
|
// TODO: don't damage the whole output here
|
||||||
int width, height;
|
int width, height;
|
||||||
wlr_output_transformed_resolution(wlr_output, &width, &height);
|
wlr_output_transformed_resolution(wlr_output, &width, &height);
|
||||||
pixman_region32_union_rect(damage, damage, 0, 0, width, height);
|
pixman_region32_union_rect(damage, damage, 0, 0, width, height);
|
||||||
|
Loading…
Reference in New Issue
Block a user