Changeset 8200
- Timestamp:
- 04/23/08 22:49:19
- Files:
-
- OpenSceneGraph/trunk/include/osg/Texture2D (modified) (1 diff)
- OpenSceneGraph/trunk/include/osg/TextureRectangle (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
OpenSceneGraph/trunk/include/osg/Texture2D
r7648 r8200 136 136 137 137 138 /** It's not ideal that _image is mutable, but it's required since139 * Image::ensureDimensionsArePowerOfTwo() can only be called in a140 * valid OpenGL context, and therefore within Texture::apply, which141 * is const. */142 138 ref_ptr<Image> _image; 143 139 OpenSceneGraph/trunk/include/osg/TextureRectangle
r7648 r8200 135 135 void applyTexImage_subload(GLenum target, Image* image, State& state, GLsizei& inwidth, GLsizei& inheight, GLint& inInternalFormat) const; 136 136 137 // not ideal that _image is mutable, but it's required since 138 // Image::ensureDimensionsArePowerOfTwo() can only be called 139 // in a valid OpenGL context, and therefore within an Texture::apply 140 // which is const... 141 mutable ref_ptr<Image> _image; 137 ref_ptr<Image> _image; 142 138 143 139 // subloaded images can have different texture and image sizes.
