summaryrefslogtreecommitdiff
path: root/src/glitz_util.c
diff options
context:
space:
mode:
authorDavid Reveman <davidr@novell.com>2004-04-28 08:59:38 +0000
committerDavid Reveman <davidr@novell.com>2004-04-28 08:59:38 +0000
commit14b8f0268696e867ef1c87d174e0ab4c233e691b (patch)
treec4a36d7caa3027d0cf7d5c6e3e1812bc54df4354 /src/glitz_util.c
parentffe7e1d21cef1ab1e576274f774f86a47f58317b (diff)
Added support for direct compositing with mask surface only using multi-texturing
Diffstat (limited to 'src/glitz_util.c')
-rw-r--r--src/glitz_util.c2
1 files changed, 1 insertions, 1 deletions
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 ())