Fix fetching of the data for uniform arrays.
authorZack Rusin <zack@kde.org>
Wed, 16 Nov 2011 02:33:31 +0000 (21:33 -0500)
committerZack Rusin <zack@kde.org>
Wed, 16 Nov 2011 02:33:31 +0000 (21:33 -0500)
commita0f95ec9c6acaf25291461ef7ddc124f281dbceb
treeaaee08dc8719429667d7223933a812faecb59833
parent38c932b18ad60176980f0c99f202c610757c000a
Fix fetching of the data for uniform arrays.

The initial array element is usually returned as arrayName[0] not
arrayName which means that we were usually creating two-dimensional
arrays for those elements which in turned always returned garbage.
glstate.cpp