Changeset 3947 in orxonox.OLD
- Timestamp:
- Apr 24, 2005, 10:26:37 PM (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/branches/particleEngine/src/lib/graphics/importer/texture.cc
r3946 r3947 119 119 glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_MAG_FILTER, GL_NEAREST); 120 120 glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_MIN_FILTER, GL_NEAREST); 121 // build the Texture 121 122 glTexImage2D(GL_TEXTURE_2D, 122 123 0, … … 127 128 GL_UNSIGNED_BYTE, 128 129 image->pixels); 129 130 /*gluBuild2DMipmaps(GL_TEXTURE_2D,131 3,130 // build the MipMaps 131 gluBuild2DMipmaps(GL_TEXTURE_2D, 132 GL_RGBA, 132 133 w, 133 134 h, … … 135 136 GL_UNSIGNED_BYTE, 136 137 image->pixels); 137 */138 138 139 SDL_FreeSurface(image); /* No longer needed */ 139 140
Note: See TracChangeset
for help on using the changeset viewer.