Remove debug, add explicit TODO

master
emersion 7 years ago
parent 50219564c2
commit 3a68c012a9
No known key found for this signature in database
GPG Key ID: 0FDE7BE0E88F5E48

@ -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…
Cancel
Save