From 14b8f0268696e867ef1c87d174e0ab4c233e691b Mon Sep 17 00:00:00 2001 From: David Reveman Date: Wed, 28 Apr 2004 08:59:38 +0000 Subject: Added support for direct compositing with mask surface only using multi-texturing --- src/glitz_util.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/glitz_util.c') diff --git a/src/glitz_util.c b/src/glitz_util.c index 2e661ed..73d584e 100644 --- a/src/glitz_util.c +++ b/src/glitz_util.c @@ -108,7 +108,7 @@ glitz_get_gl_format_from_bpp (unsigned short bpp) { switch (bpp) { case 8: - return GLITZ_GL_ALPHA; + return GLITZ_GL_LUMINANCE_ALPHA; break; case 24: if (big_endian ()) -- cgit v1.2.3