glxgears: unbind current context before "destroying" it
authorMarcin Slusarz <marcin.slusarz@gmail.com>
Sun, 17 Jan 2010 22:49:34 +0000 (14:49 -0800)
committerBrian Paul <brianp@vmware.com>
Mon, 18 Jan 2010 17:44:53 +0000 (10:44 -0700)
commit23ae31820042f2bc4694f7c48696a697d674b802
tree18591527553acde3d6b395986eb107c9280a67ed
parentccc888c39ee8a7c460dca5b1b659d28dbbc4c689
glxgears: unbind current context before "destroying" it

glXDestroyContext does not destroy the context if it's still
connected to some window. Unbind context from window to test it.

Signed-off-by: Brian Paul <brianp@vmware.com>
progs/xdemos/glxgears.c