mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 00:58:05 +02:00
add 2, not 4, in _mesa_get_compressed_formats()
This commit is contained in:
parent
bb21846b2f
commit
ee2b34215f
1 changed files with 4 additions and 4 deletions
|
|
@ -1,10 +1,10 @@
|
|||
/* $Id: texcompress.c,v 1.3 2002/10/24 23:57:21 brianp Exp $ */
|
||||
/* $Id: texcompress.c,v 1.4 2003/03/24 20:00:09 brianp Exp $ */
|
||||
|
||||
/*
|
||||
* Mesa 3-D graphics library
|
||||
* Version: 4.1
|
||||
* Version: 5.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;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue