diff --git a/src/nogl/noGLALSW.inc b/src/nogl/noGLALSW.inc
index 3f32dce7da3017af254de531b5300619863b22ad..e06b9c3f2b3d6af2221424b7157dc03c59dc0da1 100644 (file)
--- a/src/nogl/noGLALSW.inc
+++ b/src/nogl/noGLALSW.inc
BLEND_DEFAULT:
begin
(* FIX texture colorize *)
- set_saturation_blender(0, 0, 0, 0);
- drawing_mode(DRAW_MODE_TRANS, nil, 0, 0)
+ if sdl2allegro_bpp <= 8 then
+ begin
+ drawing_mode(DRAW_MODE_SOLID, nil, 0, 0)
+ end
+ else
+ begin
+ set_color_blender(0, 0, 0, 0);
+ drawing_mode(DRAW_MODE_TRANS, nil, 0, 0)
+ end
end
else
ASSERT(FALSE)
p := pixels;
if format = GL_RGBA then
begin
- if DEFAULT_DEPTH <= 8 then
+ if sdl2allegro_bpp <= 8 then
trans := 0
else
trans := makeacol(255, 0, 255, 0);
p := pixels;
if format = GL_RGBA then
begin
- if DEFAULT_DEPTH <= 8 then
+ if sdl2allegro_bpp <= 8 then
trans := 0
else
trans := makeacol(255, 0, 255, 0);