Re: Segfault with glMatrixMode
Mike Lawrence <[email protected]> Mon, 25 Aug 2014 15:17:43 -0300
| Newsgroups | gmane.comp.python.opengl.user |
|---|---|
| Message-ID | <CAB+QPJA-PM_ZNjvO3StgQLThV-aCD2gbRiFT9jhqMEjtGxDtsw@mail.gmail.com> |
Yup, that failing to set up a context first was the culprit. Thanks! -- Mike Lawrence Graduate Student Department of Psychology & Neuroscience Dalhousie University ~ Certainty is (possibly) folly ~ On Mon, Aug 25, 2014 at 3:02 PM, Ian Mallett <[email protected]> wrote: > I'm surprised that it segfaults, but it is well known that you need a > graphics context before you try any OpenGL--perhaps that is the issue. You > set a context up with your windowing system of choice. > > ------------------------------------------------------------------------------ > Slashdot TV. > Video for Nerds. Stuff that matters. > http://tv.slashdot.org/ > _______________________________________________ > PyOpenGL Homepage > http://pyopengl.sourceforge.net > _______________________________________________ > PyOpenGL-Users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/pyopengl-users > ------------------------------------------------------------------------------ Slashdot TV. Video for Nerds. Stuff that matters. http://tv.slashdot.org/ _______________________________________________ PyOpenGL Homepage http://pyopengl.sourceforge.net