X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=render%2Fcolor.c;h=41fcc7102f2ad3e92dee21738e222aa2dec5006c;hb=b155a17305e555233bf7d7062db7370a48d8f93c;hp=a247673f4532ef9bfe69f0eade9750909996b71d;hpb=2442cdfd85e5229c7ee4ac49ca66a7d55ffcb919;p=chaz%2Fopenbox diff --git a/render/color.c b/render/color.c index a247673f..41fcc710 100644 --- a/render/color.c +++ b/render/color.c @@ -140,7 +140,7 @@ void RrReduceDepth(const RrInstance *inst, RrPixel32 *data, XImage *im) } data += im->width; p32 += im->width; - } + } } else im->data = (gchar*) data; break; case 16: @@ -192,11 +192,11 @@ void RrReduceDepth(const RrInstance *inst, RrPixel32 *data, XImage *im) break; default: g_error("Your bit depth is currently unhandled\n"); - + } } -XColor *RrPickColor(const RrInstance *inst, gint r, gint g, gint b) +XColor *RrPickColor(const RrInstance *inst, gint r, gint g, gint b) { r = (r & 0xff) >> (8-RrPseudoBPC(inst)); g = (g & 0xff) >> (8-RrPseudoBPC(inst));