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.
Page Index Toggle Pages: 1
texturemode (Read 343 times)
texturemode
Jul 10th, 2009, 6:07am
 
Hello.

It seems that in 'textureMode(NORMALIZED);' in the last version, NORMALIZED is deprecated !!

Thank's for your help.
Re: texturemode
Reply #1 - Jul 10th, 2009, 7:48am
 
Yes.
So what is your question

[EDIT] PConstants ->
Quote:
static final int NORMALIZED
   Deprecated. use NORMAL instead


1 - Deprecated means: might disappear someday (or not) and usage is discouraged in new code. The tag might generate a compiler warning (or a warning by Eclipse), but it still usable.
2 - You should use NORMAL as advised.
3 - Indeed, reference page of textureMode() should be updated...
Re: texturemode
Reply #2 - Jul 10th, 2009, 9:32am
 
Thank's.

When I use 'NORMAL', it's OK.

Page Index Toggle Pages: 1