X-Git-Url: http://deadsoftware.ru/gitweb?p=d2df-sdl.git;a=blobdiff_plain;f=src%2Fnogl%2FnoGLALSW.inc;h=e06b9c3f2b3d6af2221424b7157dc03c59dc0da1;hp=bec8350941184b5f5453209c1d24a4a9cc462864;hb=dea4e2426106ed2b46c3799c7b34a358a4c303aa;hpb=fe8b553e08f76cf35cba0a0e149140db87aa71c6 diff --git a/src/nogl/noGLALSW.inc b/src/nogl/noGLALSW.inc index bec8350..e06b9c3 100644 --- a/src/nogl/noGLALSW.inc +++ b/src/nogl/noGLALSW.inc @@ -200,7 +200,7 @@ implementation 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 @@ -663,7 +663,7 @@ implementation 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); @@ -710,7 +710,7 @@ implementation 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);