forked from old/legacy-imlib2
A bugfix!
draw_pixel had an inverted test for clipping and so was always calling the wrong function. Will this fix ever see the light of day? Who knows?! :) SVN revision: 6163
This commit is contained in:
parent
3ad5e83992
commit
900e167c37
|
@ -3240,7 +3240,7 @@ imlib_image_draw_pixel(int x, int y, char make_updates)
|
||||||
return NULL;
|
return NULL;
|
||||||
__imlib_DirtyImage(im);
|
__imlib_DirtyImage(im);
|
||||||
__imlib_DirtyPixmapsForImage(im);
|
__imlib_DirtyPixmapsForImage(im);
|
||||||
if (ctx->cliprect.w)
|
if (ctx->cliprect.w == 0)
|
||||||
{
|
{
|
||||||
__imlib_draw_set_point(im, x, y,
|
__imlib_draw_set_point(im, x, y,
|
||||||
(DATA8) ctx->color.red,
|
(DATA8) ctx->color.red,
|
||||||
|
|
Loading…
Reference in New Issue