mesa: Fix GetUniformLocation while compiling display lists.
authorNick Bowler <nbowler@draconx.ca>
Thu, 19 Aug 2010 16:19:55 +0000 (12:19 -0400)
committerEric Anholt <eric@anholt.net>
Fri, 20 Aug 2010 17:55:50 +0000 (10:55 -0700)
commit5482eaba6ecd4a581377336b6409019adf67869e
treea6adaf3767deb911079e3f9df23043dc703e6311
parent284ce20901b0c2cfab1d952cc129b8f3cd068f12
mesa: Fix GetUniformLocation while compiling display lists.

This function was apparently missing from the display list dispatch
table, causing the generic no-op function to be called instead.  To make
matters worse, the no-op function is indistinguishable from a successful
call to GetUniformLocation.  GL specifies that GetUniformLocation is
executed immediately when compiling display lists.

Fixes fdo bug 29622.

Signed-off-by: Nick Bowler <nbowler@draconx.ca>
src/mesa/main/dlist.c