mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-10-31 22:25:21 -04:00
Upload texture on surface commit
This commit is contained in:
parent
c39bfe7f84
commit
a6db47196c
3 changed files with 50 additions and 51 deletions
|
|
@ -19,7 +19,6 @@ static inline int64_t timespec_to_msec(const struct timespec *a) {
|
|||
static void render_surface(struct wlr_surface *surface,
|
||||
struct roots_desktop *desktop, struct wlr_output *wlr_output,
|
||||
struct timespec *when, double lx, double ly, float rotation) {
|
||||
wlr_surface_flush_damage(surface);
|
||||
if (surface->texture->valid) {
|
||||
int width = surface->current->buffer_width;
|
||||
int height = surface->current->buffer_height;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue