mesa: added #ifdef __GNUC__ around GLubyte bitfield usage
authorBrian Paul <brianp@vmware.com>
Wed, 2 Sep 2009 14:45:34 +0000 (08:45 -0600)
committerBrian Paul <brianp@vmware.com>
Wed, 2 Sep 2009 14:47:47 +0000 (08:47 -0600)
commit83e4470d9a3367883b3fe699629f1d8648459a89
treec7f34bc864f10b34d44501f1b009ce583bce7a25
parenta46e32787d98192d35bf2834011cfa5537e0e703
mesa: added #ifdef __GNUC__ around GLubyte bitfield usage

It would be nice if there were a #pragma or something to disable the warnings:

main/texenvprogram.c:87: warning: type of bit-field ‘Source’ is a GCC extension
main/texenvprogram.c:88: warning: type of bit-field ‘Operand’ is a GCC extension

but there doesn't appear to be a way to do that.
src/mesa/main/texenvprogram.c