ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/rxvt-unicode/src/rxvtimg.C
(Generate patch)

Comparing rxvt-unicode/src/rxvtimg.C (file contents):
Revision 1.63 by root, Fri Jun 8 20:35:43 2012 UTC vs.
Revision 1.64 by root, Fri Jun 8 21:33:32 2012 UTC

354 354
355void 355void
356rxvt_img::contrast (uint16_t r, uint16_t g, uint16_t b, uint16_t a) 356rxvt_img::contrast (uint16_t r, uint16_t g, uint16_t b, uint16_t a)
357{ 357{
358 if (!(s->display->flags & DISPLAY_HAS_RENDER_MUL)) 358 if (!(s->display->flags & DISPLAY_HAS_RENDER_MUL))
359 {
360 rxvt_warn ("rxvt_img::contrast operation not supported on this display, RENDER extension too old.\n");
359 return; 361 return;
362 }
360 363
361 Display *dpy = s->display->dpy; 364 Display *dpy = s->display->dpy;
362 Picture src = create_xrender_mask (dpy, pm, True); 365 Picture src = create_xrender_mask (dpy, pm, True);
363 Picture dst = XRenderCreatePicture (dpy, pm, format, 0, 0); 366 Picture dst = XRenderCreatePicture (dpy, pm, format, 0, 0);
364 367

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines