mirror of https://github.com/aap/librw.git
little fix for gles
This commit is contained in:
parent
162c2d2035
commit
b8751a03c3
|
@ -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;
|
||||||
|
|
Loading…
Reference in New Issue