Changeset 7730 in orxonox.OLD for trunk/src/lib/graphics
- Timestamp:
- May 19, 2006, 3:46:41 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/lib/graphics/importer/texture.cc
r7727 r7730 272 272 glBindTexture(target, texture); 273 273 274 //glTexImage2D(target, 0, format,275 //surface->w, surface->h,276 //0, format, GL_UNSIGNED_BYTE,277 //surface->pixels);274 glTexImage2D(target, 0, format, 275 surface->w, surface->h, 276 0, format, GL_UNSIGNED_BYTE, 277 surface->pixels); 278 278 279 279 glTexParameteri(target, GL_TEXTURE_WRAP_S, GL_REPEAT);
Note: See TracChangeset
for help on using the changeset viewer.