Changeset 3952 in orxonox.OLD for orxonox/branches/particleEngine/src/lib/graphics/importer/texture.cc
- Timestamp:
- Apr 25, 2005, 1:10:24 AM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/branches/particleEngine/src/lib/graphics/importer/texture.cc
r3947 r3952 25 25 Texture::Texture(const char* imageName) 26 26 { 27 bAlpha = false; 27 28 this->texture = 0; 28 29 if (imageName) … … 112 113 if ( (saved_flags & SDL_SRCALPHA) == SDL_SRCALPHA ) { 113 114 SDL_SetAlpha(surface, saved_flags | SDL_OPENGL, saved_alpha); 115 this->bAlpha = true; 114 116 } 115 117
Note: See TracChangeset
for help on using the changeset viewer.