/[glmosaictext]/glmosaictext/include/glmosaictext/Mosaic.hxx
ViewVC logotype

Diff of /glmosaictext/include/glmosaictext/Mosaic.hxx

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.2 by tjl, Tue Apr 8 20:22:22 2003 UTC revision 1.3 by tjl, Fri Aug 15 19:39:29 2003 UTC
# Line 86  namespace Mosaic { Line 86  namespace Mosaic {
86          /** Cause OpenGL to bind this texture.          /** Cause OpenGL to bind this texture.
87           */           */
88          void bind(GLenum target = GL_TEXTURE_2D) const {          void bind(GLenum target = GL_TEXTURE_2D) const {
89              if(!id) throw InvalidTexture();              // No, it may be zero - it's allowed
90                // if(!id) throw InvalidTexture();
91              glBindTexture(target, id);              glBindTexture(target, id);
92          }          }
93          void unbind(GLenum target = GL_TEXTURE_2D) const {          void unbind(GLenum target = GL_TEXTURE_2D) const {

Legend:
Removed from v.1.2  
changed lines
  Added in v.1.3

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26