glamor: Move a make_current before the first GL call entrypoint.
authorEric Anholt <eric@anholt.net>
Fri, 18 Apr 2014 01:50:13 +0000 (18:50 -0700)
committerEric Anholt <eric@anholt.net>
Wed, 23 Apr 2014 17:32:34 +0000 (10:32 -0700)
commitf6abfece3e59fa8c2e14a61430133816837855f8
tree91e574674f070b77d68263b5bf34e9278b8dc692
parent707726b155a2a086d12e0a6abef7f1e59def5370
glamor: Move a make_current before the first GL call entrypoint.

Fixes a usage of the wrong context with swrast GLX's GetImage entrypoint.

Reviewed-by: Michel Dänzer <michel.daenzer@amd.com>
Reviewed-by: Adam Jackson <ajax@redhat.com>
glamor/glamor_pixmap.c