Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 6803 in orxonox.OLD for trunk/src/world_entities/environments


Ignore:
Timestamp:
Jan 28, 2006, 11:14:40 AM (19 years ago)
Author:
bensch
Message:

trunk: WeaponManager fix

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/world_entities/environments/water.cc

    r6780 r6803  
    185185    if (State::getSkyBox())
    186186    {
    187       glBindTexture(GL_TEXTURE_2D, State::getSkyBox()->getTexture(SKY_TOP));
     187      glBindTexture(GL_TEXTURE_2D, State::getSkyBox()->getTexture(SKY_RIGHT));
    188188      glTexEnvi(GL_TEXTURE_ENV, GL_TEXTURE_ENV_MODE, GL_MODULATE);
    189189
     
    199199    //Shader::deactivateShader();
    200200
    201     SkyBox::disableCubeMap();
     201    //SkyBox::disableCubeMap();
     202    glDisable(GL_TEXTURE_GEN_S);
     203    glDisable(GL_TEXTURE_GEN_T);
     204
    202205    glPopMatrix();
    203206  }
Note: See TracChangeset for help on using the changeset viewer.