1
0
mirror of https://github.com/gryf/wmaker.git synced 2025-12-18 12:00:31 +01:00

Removed context argument in jpeg files

The context argumetn is now not used, so can be removed.
This commit is contained in:
Rodolfo García Peñas (kix)
2013-09-05 21:08:15 +02:00
committed by Carlos R. Mafra
parent d1f9b80171
commit 82aea844d0
3 changed files with 3 additions and 3 deletions

View File

@@ -61,7 +61,7 @@ RImage *RLoadPNG(RContext *context, const char *file);
#endif
#ifdef USE_JPEG
RImage *RLoadJPEG(RContext *context, const char *file);
RImage *RLoadJPEG(const char *file);
#endif
#ifdef USE_GIF

View File

@@ -91,7 +91,7 @@ static void my_error_exit(j_common_ptr cinfo)
longjmp(myerr->setjmp_buffer, 1);
}
RImage *RLoadJPEG(RContext * context, const char *file_name)
RImage *RLoadJPEG(const char *file_name)
{
RImage *image = NULL;
struct jpeg_decompress_struct cinfo;

View File

@@ -180,7 +180,7 @@ RImage *RLoadImage(RContext * context, const char *file, int index)
#ifdef USE_JPEG
case IM_JPEG:
image = RLoadJPEG(context, file);
image = RLoadJPEG(file);
break;
#endif /* USE_JPEG */