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.62 by root, Fri Jun 8 17:22:48 2012 UTC vs.
Revision 1.63 by root, Fri Jun 8 20:35:43 2012 UTC

331 331
332 return mask; 332 return mask;
333} 333}
334 334
335void 335void
336rxvt_img::brightness (unsigned short r, unsigned short g, unsigned short b, unsigned short a) 336rxvt_img::brightness (uint16_t r, uint16_t g, uint16_t b, uint16_t a)
337{ 337{
338 Display *dpy = s->display->dpy; 338 Display *dpy = s->display->dpy;
339 Picture src = create_xrender_mask (dpy, pm, True); 339 Picture src = create_xrender_mask (dpy, pm, True);
340 Picture dst = XRenderCreatePicture (dpy, pm, format, 0, 0); 340 Picture dst = XRenderCreatePicture (dpy, pm, format, 0, 0);
341 341
351 XRenderFreePicture (dpy, src); 351 XRenderFreePicture (dpy, src);
352 XRenderFreePicture (dpy, dst); 352 XRenderFreePicture (dpy, dst);
353} 353}
354 354
355void 355void
356rxvt_img::contrast (unsigned short r, unsigned short g, unsigned short b, unsigned short 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 return; 359 return;
360 360
361 Display *dpy = s->display->dpy; 361 Display *dpy = s->display->dpy;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines