Subversion Repositories Kolibri OS

Rev

Rev 8396 | Rev 8780 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 8396 Rev 8407
Line 145... Line 145...
145
}
145
}
Line 146... Line 146...
146
 
146
 
147
:void libimg_image::convert_into(dword _to)
147
:void libimg_image::convert_into(dword _to)
148
{
148
{
-
 
149
    img_convert stdcall(image, 0, _to, 0, 0);
-
 
150
    $push eax
-
 
151
    img_destroy stdcall(image);
149
    img_convert stdcall(image, 0, _to, 0, 0);
152
    $pop eax
150
    if (!EAX) {
153
    if (!EAX) {
151
        notify("'LibImg convertation error!'E");
154
        notify("'LibImg convertation error!'E");
152
    } else {
155
    } else {
153
        image = EAX;
156
        image = EAX;