diff options
author | Brian Paul <[email protected]> | 2003-03-24 20:00:36 +0000 |
---|---|---|
committer | Brian Paul <[email protected]> | 2003-03-24 20:00:36 +0000 |
commit | 6677a919f15ba13c9d841a85da7bac8febfe59a3 (patch) | |
tree | 22f7702ba284bbadfe7df584e7ebbe25ba9eac68 | |
parent | b099d2137ed53961e0269c4bb4e4330630e300bb (diff) |
add 2, not 4, in _mesa_get_compressed_formats()
-rw-r--r-- | src/mesa/main/texcompress.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/mesa/main/texcompress.c b/src/mesa/main/texcompress.c index 8474b4ee87f..0f33425f304 100644 --- a/src/mesa/main/texcompress.c +++ b/src/mesa/main/texcompress.c @@ -1,10 +1,10 @@ -/* $Id: texcompress.c,v 1.3 2002/10/24 23:57:21 brianp Exp $ */ +/* $Id: texcompress.c,v 1.3.2.1 2003/03/24 20:00:36 brianp Exp $ */ /* * Mesa 3-D graphics library - * Version: 4.1 + * Version: 5.0.1 * - * Copyright (C) 1999-2002 Brian Paul All Rights Reserved. + * Copyright (C) 1999-2003 Brian Paul All Rights Reserved. * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and associated documentation files (the "Software"), @@ -49,7 +49,7 @@ _mesa_get_compressed_formats( GLcontext *ctx, GLint *formats ) formats[n++] = GL_COMPRESSED_RGBA_FXT1_3DFX; } else { - n += 4; + n += 2; } } } |