enabling and disabling textures in display lists

Roland Krause <[email protected]>
Newsgroups gmane.games.devel.opengl
Organization Fat City Network Services, San Diego, California
Message-ID <[email protected]>
Hi Folks,
Does it make sense to do the following: (Soooorrry for the awful pseudo
code...) 

open display list
  draw something
  push the texture bit on the attribute stack
  enable textures
  do some texture magic and draw something with texture
  pop the attribute stack
  draw something else
close display list

Or should textures be enabled once up front globally and then be left
on for the entire time. Are there any disadvantages of the above
approach? Will it buy me anything? 

Thanks and best regards,
Roland
  
----- 
FAQ and OpenGL Resources at:
  http://www.geocities.com/SiliconValley/Hills/9956/OpenGL

-- 
Author: Roland Krause
  INET: [email protected]

Fat City Hosting, San Diego, California -- http://www.fatcity.com
---------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
to: [email protected] (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB OPENGL-GAMEDEV-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.