little fix for gles

This commit is contained in:
aap 2020-08-01 08:16:14 +02:00
parent 162c2d2035
commit b8751a03c3
1 changed files with 1 additions and 1 deletions

View File

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