pfPipeWindows and OpenGL

New Message Reply Date view Thread view Subject view Author view

ulf.yngwe++at++mandator.se
Fri, 17 Jan 1997 16:07:27 +0200


Ulf Yngwe
97-01-17 16:07

Hi!

Shouldn´t this work on an O2 with Performer 2.0 or have I
misunderstood something. I always get a BadMatch error
on the glXMakeCurrent call.

    pfInit();
    pfConfig();

    p = pfGetPipe(0);
    pw = pfNewPWin(p);
    pfPWinType(pw, PFPWIN_TYPE_X);
    pfPWinName(pw, "IRIS Performer");
    pfPWinOriginSize(pw, 0, 0, 500, 500);
    pfOpenPWin(pw);

    dpy=pfGetCurWSConnection();
    win=pfGetPWinWSWindow(pw);
    wincxt=pfGetPWinGLCxt(pw);

    glXMakeCurrent(dpy,win,wincxt);

===================================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:54:21 PDT

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