demos: move glewInit() after glutCreateWindow()
authorBrian Paul <brianp@vmware.com>
Fri, 17 Apr 2009 14:09:17 +0000 (08:09 -0600)
committerBrian Paul <brianp@vmware.com>
Fri, 17 Apr 2009 14:11:00 +0000 (08:11 -0600)
commit047efcd050a92687403952910de4fded3df46964
tree8258898bfd82074a633bb3da8135ad7cce654029
parent44d0e0caf4ad3b01dc08d8432867c449dc3f2a23
demos: move glewInit() after glutCreateWindow()

Fixes segfault.  See bug 21239.  However, the demo doesn't render
properly.  Probably a bug in the GL_ATI_fragment_shader code.
progs/tests/afsmultiarb.c