Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 7730 in orxonox.OLD for trunk/src/lib/graphics/importer/texture.cc


Ignore:
Timestamp:
May 19, 2006, 3:46:41 PM (18 years ago)
Author:
bensch
Message:

orxonox/trunk: testing if it works on WIndows like this

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/lib/graphics/importer/texture.cc

    r7727 r7730  
    272272  glBindTexture(target, texture);
    273273
    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);
    278278
    279279  glTexParameteri(target, GL_TEXTURE_WRAP_S, GL_REPEAT);
Note: See TracChangeset for help on using the changeset viewer.