demos: minor updates for shader_api.c test
authorBrian Paul <brianp@vmware.com>
Wed, 11 Feb 2009 16:14:07 +0000 (09:14 -0700)
committerBrian Paul <brianp@vmware.com>
Wed, 11 Feb 2009 16:17:22 +0000 (09:17 -0700)
commitb6ad7c8c4a19241146e92e3765cd2095dcd80547
treeb71880b491c9877ac552a466b4af7e588342295f
parent2b4f0216bf757f63c0e76eb3a9a59a486ce63051
demos: minor updates for shader_api.c test

Mesa's glGetUniformLocation() does support array indexes.

Minor code reformatting.

It would be great if this program were converted into a glean test...
progs/tests/shader_api.c