glx: Compute number of attributes in GetDrawableAttributes on the fly
authorAdam Jackson <ajax@redhat.com>
Fri, 9 Nov 2012 22:07:20 +0000 (17:07 -0500)
committerAdam Jackson <ajax@redhat.com>
Wed, 11 Sep 2013 18:37:32 +0000 (14:37 -0400)
commitd11f13e383dda1e9cabe32793d261d46edc44418
treed73871985a98f7fd6a966513a0218c8cfc6dc67f
parent468b57324f838144d79e3a9d85a0bde853578c4b
glx: Compute number of attributes in GetDrawableAttributes on the fly

This doesn't have any effect yet, but is needed to properly build the
reply for pbuffers.

Reviewed-by: Eric Anholt <eric@anholt.net>
Signed-off-by: Adam Jackson <ajax@redhat.com>
glx/glxcmds.c