Re: glRasterPos* in perfly??

New Message Reply Date view Thread view Subject view Author view

Mario Veraart (rioj7++at++fel.tno.nl)
Mon, 14 Oct 1996 13:58:15 +0200 (MET DST)


> == After pressing "g" key:
> PF Notice/Usage: OpenGL Error 0x504 - stack underflow
> Current Raster Position 0.000000, 0.000000, 0.000000, 1.000000, 1
>
>
> Is anything wrong with the code? way of doing this?

You forget to restore the original Matrix Mode that was when entering the
local Predraw. Use glGetIntegerv(GL_MATRIXMODE), or so, to get this setting
and call glMatrixMode(prevValue) when leaving the function.
I don't know if this will solve your problem but performer might
have trouble when it's not restored to the right state.

Mario
=======================================================================
List Archives, FAQ, FTP: http://www.sgi.com/Technology/Performer/
            Submissions: info-performer++at++sgi.com
        Admin. requests: info-performer-request++at++sgi.com


New Message Reply Date view Thread view Subject view Author view

This archive was generated by hypermail 2.0b2 on Mon Aug 10 1998 - 17:53:45 PDT

This message has been cleansed for anti-spam protection. Replace '++at++' in any mail addresses with the '@' symbol.