Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 3536 in orxonox.OLD for orxonox/trunk/src/world_entities


Ignore:
Timestamp:
Mar 13, 2005, 11:57:19 PM (20 years ago)
Author:
bensch
Message:

orxonox/trunk: GL_TEXTURE_2D-patch: now only enabled and disabled through Material

File:
1 edited

Legend:

Unmodified
Added
Removed
  • orxonox/trunk/src/world_entities/skysphere.cc

    r3531 r3536  
    105105void Skysphere::draw()
    106106{
    107   glEnable(GL_TEXTURE_2D);
    108107  glPushMatrix();
    109108  glMatrixMode(GL_MODELVIEW);
     
    119118  gluSphere(sphereObj, sphereRadius, 20, 20);
    120119  glPopMatrix();
    121   glDisable(GL_TEXTURE_2D);
    122120}
    123121
Note: See TracChangeset for help on using the changeset viewer.