forked from old/legacy-imlib2
for acceleration to work i nee to add a parameter to put_back_data
SVN revision: 1735
This commit is contained in:
parent
544ab144c3
commit
2a0b19880b
|
@ -113,7 +113,7 @@ int imlib_image_get_width(void);
|
||||||
int imlib_image_get_height(void);
|
int imlib_image_get_height(void);
|
||||||
DATA32 *imlib_image_get_data(void);
|
DATA32 *imlib_image_get_data(void);
|
||||||
DATA32 *imlib_image_get_data_for_reading_only(void);
|
DATA32 *imlib_image_get_data_for_reading_only(void);
|
||||||
void imlib_image_put_back_data(void);
|
void imlib_image_put_back_data(DATA32 *data);
|
||||||
char imlib_image_has_alpha(void);
|
char imlib_image_has_alpha(void);
|
||||||
void imlib_image_set_never_changes_on_disk(Imlib_Image image);
|
void imlib_image_set_never_changes_on_disk(Imlib_Image image);
|
||||||
void imlib_image_get_border(Imlib_Border *border);
|
void imlib_image_get_border(Imlib_Border *border);
|
||||||
|
|
|
@ -386,14 +386,16 @@ imlib_image_get_data_for_reading_only(void)
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
imlib_image_put_back_data(void)
|
imlib_image_put_back_data(DATA32 *data)
|
||||||
{
|
{
|
||||||
ImlibImage *im;
|
ImlibImage *im;
|
||||||
|
|
||||||
CHECK_PARAM_POINTER("imlib_image_put_back_data", "image", ctxt_image);
|
CHECK_PARAM_POINTER("imlib_image_put_back_data", "image", ctxt_image);
|
||||||
|
CHECK_PARAM_POINTER("imlib_image_put_back_data", "data", data);
|
||||||
CAST_IMAGE(im, ctxt_image);
|
CAST_IMAGE(im, ctxt_image);
|
||||||
__imlib_DirtyImage(im);
|
__imlib_DirtyImage(im);
|
||||||
__imlib_DirtyPixmapsForImage(im);
|
__imlib_DirtyPixmapsForImage(im);
|
||||||
|
data = NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
char
|
char
|
||||||
|
|
Loading…
Reference in New Issue