diff --git a/src/nogl/noGLALSW.inc b/src/nogl/noGLALSW.inc
index bec8350941184b5f5453209c1d24a4a9cc462864..e06b9c3f2b3d6af2221424b7157dc03c59dc0da1 100644 (file)
--- a/src/nogl/noGLALSW.inc
+++ b/src/nogl/noGLALSW.inc
BLEND_DEFAULT:
begin
(* FIX texture colorize *)
- if DEFAULT_DEPTH <= 8 then
+ if sdl2allegro_bpp <= 8 then
begin
drawing_mode(DRAW_MODE_SOLID, nil, 0, 0)
end
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);