if wayland's gonna be disabled by default until it's finished then i'm just gonna develop it on master so that we don't have to worry about merge conflicts during any long periods where i don't feel like working on it #2
1 changed files with 4 additions and 4 deletions
format
commit
7f823e2d34
|
|
@ -865,7 +865,7 @@ static void MwLLPixmapUpdateImpl(MwLLPixmap r) {
|
||||||
|
|
||||||
cairo_surface_flush(r->wayland.cs);
|
cairo_surface_flush(r->wayland.cs);
|
||||||
d = cairo_image_surface_get_data(r->wayland.cs);
|
d = cairo_image_surface_get_data(r->wayland.cs);
|
||||||
for(i = 0; i < r->common.width * r->common.height * 4; i += 4){
|
for(i = 0; i < r->common.width * r->common.height * 4; i += 4) {
|
||||||
MwU32* p = (MwU32*)&d[i];
|
MwU32* p = (MwU32*)&d[i];
|
||||||
*p <<= 8;
|
*p <<= 8;
|
||||||
*p |= r->common.raw[i + 3];
|
*p |= r->common.raw[i + 3];
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue