Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 3108 in orxonox.OLD for orxonox/branches/images/importer


Ignore:
Timestamp:
Dec 6, 2004, 12:13:50 AM (20 years ago)
Author:
bensch
Message:

orxonox/branches/images: configure.ac: made SDL_image check global

File:
1 edited

Legend:

Unmodified
Added
Removed
  • orxonox/branches/images/importer/material.cc

    r3107 r3108  
    391391  pImage->width  = map->w;
    392392  pImage->data   = (GLubyte*)map->pixels;
    393 
    394   SDL_RWops *imgType;
    395   imgType=SDL_RWFromFile(imageName, "rb");
    396393  if( !IMG_isPNG(SDL_RWFromFile(imageName, "rb")) && !IMG_isJPG(SDL_RWFromFile(imageName, "rb")))
    397394    for (int i=0;i<map->h * map->w *3;i+=3)
Note: See TracChangeset for help on using the changeset viewer.