glx: Avoid calling __glXInitialize() in driReleaseDrawables().
authorHenri Verbeet <hverbeet@gmail.com>
Sun, 17 Jul 2011 22:42:27 +0000 (00:42 +0200)
committerHenri Verbeet <hverbeet@gmail.com>
Tue, 19 Jul 2011 21:27:46 +0000 (23:27 +0200)
commit0f20e2e18f902b4319851643e1775a18c2aacb3d
tree66929bf8012db0b250d8dd4d8fcb9404009b4b98
parentf7dbcba280e4397cadb14f230aa925b4143cdde4
glx: Avoid calling __glXInitialize() in driReleaseDrawables().

This fixes a regression introduced by commit
a26121f37530619610a78a5fbe5ef87e44047fda (fd.o bug #39219).

Since the __glXInitialize() call should be unnecessary anyway, this is
probably a nicer fix for the original problem too.

NOTE: This is a candidate for the 7.10 and 7.11 branches.

Signed-off-by: Henri Verbeet <hverbeet@gmail.com>
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
Tested-by: padfoot@exemail.com.au
src/glx/dri_common.c
src/glx/glxext.c