From c861ed9e2c4f00e6770df5d370e19670a6b958f1 Mon Sep 17 00:00:00 2001 From: Joe Groff Date: Tue, 9 Dec 2008 09:30:05 -0800 Subject: [PATCH] reenable BGRA case in draw-image --- extra/graphics/bitmap/bitmap.factor | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/extra/graphics/bitmap/bitmap.factor b/extra/graphics/bitmap/bitmap.factor index e3191b3866..ae37ef0c5c 100755 --- a/extra/graphics/bitmap/bitmap.factor +++ b/extra/graphics/bitmap/bitmap.factor @@ -132,7 +132,7 @@ M: bitmap draw-image ( bitmap -- ) [ [ height>> abs ] keep bit-count>> { - ! { 32 [ GL_BGRA GL_UNSIGNED_INT_8_8_8_8 ] } ! broken + { 32 [ GL_BGRA GL_UNSIGNED_BYTE ] } { 24 [ GL_BGR GL_UNSIGNED_BYTE ] } { 8 [ GL_BGR GL_UNSIGNED_BYTE ] } { 4 [ GL_BGR GL_UNSIGNED_BYTE ] }