glapi: return int = 0 from NoOpGeneric()
authorBrian Paul <brianp@vmware.com>
Thu, 25 Mar 2010 22:03:13 +0000 (16:03 -0600)
committerBrian Paul <brianp@vmware.com>
Thu, 25 Mar 2010 22:04:47 +0000 (16:04 -0600)
commit59258498dc6fa51573b176d071644bd3e750b5ac
tree92fa21d2a94bc098dada6c236c8f8cfef1a3c2fd
parent80f5f7d17afac7b4cbaaad27a43dbf902ca3826e
glapi: return int = 0 from NoOpGeneric()

If a GL function is called w/out a current rendering context, this stub
gets called.  It should return 0 so that non-void-valued functions return
0/NULL instead of a random number.
src/mesa/glapi/glapi_nop.c