Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 5306 in orxonox.OLD for trunk/src/lib/graphics/importer/material.cc


Ignore:
Timestamp:
Oct 7, 2005, 6:17:49 PM (19 years ago)
Author:
bensch
Message:

orxonox/trunk: ResourceManage-fixes

File:
1 edited

Legend:

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

    r5303 r5306  
    3131
    3232/**
    33  *  creates a Material.
     33 * creates a Material.
    3434 * @param mtlName Name of the Material to be added to the Material List
    35 */
     35 */
    3636Material::Material (const char* mtlName)
    3737{
     
    105105    glShadeModel(GL_SMOOTH);
    106106
    107   if (this->diffuseTexture)
     107  if (this->diffuseTexture != NULL)
    108108    {
    109109      glEnable(GL_TEXTURE_2D);
Note: See TracChangeset for help on using the changeset viewer.