Hello there, I just tried to compile X11R6.8.1 with the most excellent Intel C 8.1 compiler, on a Linux Fedora Core 3 box. The compiler said gamma_state.c(1593): warning #175: subscript out of range The source code is in file ./extras/Mesa/src/mesa/drivers/dri/gamma/gamma_state.c The source code is WRITE(gmesa->buf, TxBaseAddr12, curTex->TextureBaseAddr[12]); but [dcb@localhost xc]$ find . -name \*.h -print | xargs grep TextureBaseAddr ./extras/Mesa/src/mesa/drivers/dri/gamma/gamma_context.h: uint32_t TextureBaseAddr[GAMMA_TEX_MAXLEVELS]; and [dcb@localhost xc]$ find . -name \*.h -print | xargs grep GAMMA_TEX_MAXLEVELS ./extras/Mesa/src/mesa/drivers/dri/gamma/gamma_context.h:#define GAMMA_TEX_MAXLEVELS 12 so curTex->TextureBaseAddr[12] doesn't exist. Suggest code re-work.
GlintTexBaseAddr[0-12]Tag are defined so i think we just need to bump GAMMA_TEX_MAXLEVELS to 13. sound right to everyone else?
The max texture size is 2k by 2k. Therefore the number of mipmap levels is 12. Remove the bogus WRITE line.
Mass version move, cvs -> git
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.