little fix for gles

This commit is contained in:
aap 2020-08-01 08:16:14 +02:00
parent 162c2d2035
commit b8751a03c3

View File

@ -394,7 +394,7 @@ rasterFromImage(Raster *raster, Image *image)
break;
case 24:
#ifdef RW_GLES
conv = conv_RGB888_from_RGBA8888;
conv = conv_RGBA8888_from_RGB888;
#else
if(raster->format == Raster::C8888)
conv = conv_RGBA8888_from_RGB888;