X-Git-Url: https://git.brokenzipper.com/gitweb?a=blobdiff_plain;f=render%2Frender.c;h=a8539d7a3a94db77f68d381ba748d0c5b8fabbae;hb=e9a8e272c06fd0cc1a2d93418d261886e786b16f;hp=96866923f568b7ce713e939fe8ea500e1391c3b2;hpb=a12e73cf3741f91d9188bacbcc7733d5948c8156;p=chaz%2Fopenbox diff --git a/render/render.c b/render/render.c index 96866923..a8539d7a 100644 --- a/render/render.c +++ b/render/render.c @@ -23,7 +23,7 @@ void RrPaint(RrAppearance *l, Window win, gint w, gint h) int i, transferred = 0, sw; RrPixel32 *source, *dest; Pixmap oldp; - Rect tarea; /* area in which to draw textures */ + RrRect tarea; /* area in which to draw textures */ gboolean resized; if (w <= 0 || h <= 0) return; @@ -232,7 +232,7 @@ static void RrPixel32_to_pixmap(RrAppearance *l, gint x, gint y, gint w, gint h) in = l->surface.RrPixel_data; out = l->pixmap; - im->byte_order = RrEndian; + im->byte_order = LSBFirst; /* this malloc is a complete waste of time on normal 32bpp as reduce_depth just sets im->data = data and returns */