We closed this forum 18 June 2010. It has served us well since 2005 as the ALPHA forum did before it from 2002 to 2005. New discussions are ongoing at the new URL http://forum.processing.org. You'll need to sign up and get a new user account. We're sorry about that inconvenience, but we think it's better in the long run. The content on this forum will remain online.
IndexProgramming Questions & HelpSyntax Questions › checking which renderer
Page Index Toggle Pages: 1
checking which renderer (Read 867 times)
checking which renderer
May 2nd, 2005, 8:51pm
 
better way to find out which renderer i'm using than:

if ( g.getClass().getName().equals( OPENGL ) ) smooth();

??
F
Re: checking which renderer
Reply #1 - May 3rd, 2005, 12:34am
 
yup, that's probably it. you could use instanceof but this would be better.
Page Index Toggle Pages: 1