glxinfo: Fix User error in glGetProgramivARB
authorBrian Paul <brianp@vmware.com>
Mon, 22 Feb 2010 15:56:18 +0000 (08:56 -0700)
committerBrian Paul <brianp@vmware.com>
Mon, 22 Feb 2010 15:56:18 +0000 (08:56 -0700)
commit52cc3b03c3950cd66f9d976b2a3ae9f89dc4a97b
treec449d5790816a3043f7742f1d33f119fbe0d9d77
parent2467354842d7118efff73165ddaaf4c519b41e46
glxinfo: Fix User error in glGetProgramivARB

glxinfo needed fixing after commit 4bccd69.

Move fragment program only parameters into their own list
so that they are not queried for a vertex program.

Signed-off-by: Xavier Chantry <chantry.xavier@gmail.com>
Signed-off-by: Brian Paul <brianp@vmware.com>
(cherry picked from commit b0e5dcb859692707fec8752dd21fc61fc4c3dbcc)
progs/xdemos/glxinfo.c