demos: fix issues in glxcontexts.c
authorBrian Paul <brianp@vmware.com>
Tue, 23 Jun 2009 15:31:27 +0000 (09:31 -0600)
committerBrian Paul <brianp@vmware.com>
Tue, 23 Jun 2009 15:31:27 +0000 (09:31 -0600)
commitb79e6a59d89119953e3d11576b5fb221a671e472
tree1853ae3a30d719a0045c29ca4984d6a8be4bb12f
parent2f184d0d9f4600a20022887674b77f45ee6b728e
demos: fix issues in glxcontexts.c

The reshape() function was called when there was no GLX context so
the viewport/modelview/projection setup wasn't doing anything.  Move
the call to reshape() into draw().

Also, remove -stereo, -fullscreen options and do some general clean-up.
progs/xdemos/glxcontexts.c