Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 3177 in orxonox.OLD for orxonox/trunk/importer/material.h


Ignore:
Timestamp:
Dec 15, 2004, 2:57:03 AM (19 years ago)
Author:
bensch
Message:

orxonox/trunk: finding sdl-image more flexible.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • orxonox/trunk/importer/material.h

    r3140 r3177  
    1919#ifdef HAVE_SDL_SDL_IMAGE_H
    2020#include <SDL/SDL_image.h>
    21 #else
     21#endif
     22#ifdef HAVE_SDL_IMAGE_H
     23#include <SDL_image.h>
     24#endif
     25
     26#ifndef HAVE_SDL_IMAGE
    2227// IMAGE LIBS //
    2328#ifdef HAVE_JPEGLIB_H
     
    2934#include <png.h>
    3035#endif /* HAVE_PNG_H */
    31 #endif /* HAVE_SDL_SDL_IMAGE_H */
     36#endif /* HAVE_SDL_IMAGE */
    3237
    3338class PathList
     
    118123
    119124  bool loadImage(char* imageName, GLuint* texture);
    120 #ifndef HAVE_SDL_SDL_IMAGE_H
     125#ifndef HAVE_SDL_IMAGE
    121126
    122127  bool loadBMP (char* bmpName, GLuint* texture);
Note: See TracChangeset for help on using the changeset viewer.