From: Tom Flynn (flynnt++at++engr.sgi.com)
Date: 09/13/2002 12:53:53
find and compile glxinfo.c. also, you should get a list of extensions if
you
setenv PFNFYLEVEL 9
then
perfly cow.obj >& log
exit and look at the log file.
hope that helps,
tom
On Fri, 13 Sep 2002, [iso-8859-1] Jürgen Gotschlich wrote:
> Hi performers,
>
> I want to check which GL_EXTENSIONS are available. But I only get empty
> strings as result to glGetString.
> And eventually I don't get any error messages from glGetError, even if I
> call glGetString( 0xABCDEF ).
> Does anybody know why? Do I missed out some initialisations ?
>
> Here's my code :
>
> int main( int argc, char *argv[] )
> {
> GLenum e;
> GLubyte *ext;
>
> pfInit();
> pfuInit();
> pfiInit();
>
> ext = (GLubyte *)glGetString( GL_EXTENSIONS );
> while ((e=glGetError()) != GL_NO_ERROR) cout << "Error " << e <<
> endl;
>
> cout << "ext: " << ext << endl;
>
> if( strstr((char *)ext,"GL_ARB_imaging" ) ) cout << "GL_ARB_imaging
> supported !!!" << endl;
> if( strstr((char *)ext,"EXT_blend_minmax" ) ) cout <<
> "EXT_blend_minmax supported !!!" << endl;
> if( strstr((char *)ext,"EXT_blend_subtract" ) ) cout <<
> "EXT_blend_subtract supported !!!" << endl;
>
> ...
> }
>
> Thanks, Juergen
> --
> ________________________________________________________________________
>
> Jürgen Gotschlich email: juergen.gotschlich++at++dlr.de __/|_
> Phone: +49(531)295-3248/2778 /_/_/_/
> Fax : +49(531)295-2640 |/ DLR
>
> Deutsches Zentrum für Luft-und Raumfahrt | German Aerospace Center
> Institut für Flugsystemtechnik | Inst. of Flight Research
> Abt. Flugsimulation | Flight Simulation Dep.
> Lilienthalplatz 7 | Lilienthalplatz 7
> D-38108 Braunschweig | D-38108 Braunschweig, Germany
> ________________________________________________________________________
>
> -----------------------------------------------------------------------
> List Archives, Info, FAQ: http://www.sgi.com/software/performer/
> Open Development Project: http://oss.sgi.com/projects/performer/
> Submissions: info-performer++at++sgi.com
> Admin. requests: info-performer-request++at++sgi.com
> -----------------------------------------------------------------------
>
-- "Mongooses are famous for their snake-fighting ability, and are almost always victorious because of their speed, agility, and timing and also because of their thick coat."
This archive was generated by hypermail 2b29 : Fri Sep 13 2002 - 12:54:00 PDT