Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 8484 in orxonox.OLD for branches/water/src/lib/graphics/importer


Ignore:
Timestamp:
Jun 15, 2006, 5:26:56 PM (18 years ago)
Author:
stefalie
Message:

water: some more cleanup

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/water/src/lib/graphics/importer/material.cc

    r8376 r8484  
    352352  assert(textureNumber < this->textures.size());
    353353
    354   // HACK
    355   glActiveTexture(textureNumber);
    356    glEnable(GL_TEXTURE_2D);
    357    glBindTexture(GL_TEXTURE_2D, this->textures[textureNumber].getTexture());
     354  glEnable(GL_TEXTURE_2D);
     355  glBindTexture(GL_TEXTURE_2D, this->textures[textureNumber].getTexture());
    358356  glCopyTexSubImage2D(target, level, xoffset, yoffset, x, y, width, height);
    359357
Note: See TracChangeset for help on using the changeset viewer.