Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

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


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

orxonox/trunk: finding sdl-image more flexible.

Location:
orxonox/trunk/importer
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • TabularUnified orxonox/trunk/importer/material.cc

    r3140 r3177  
    494494
    495495
    496 #ifdef HAVE_SDL_SDL_IMAGE_H
     496#ifdef HAVE_SDL_IMAGE
    497497bool Material::loadImage(char* imageName, GLuint* texture)
    498498{
     
    529529
    530530
    531 #else /* HAVE_SDL_SDL_IMAGE_H */
     531#else /* HAVE_SDL_IMAGE */
    532532/**
    533533   \brief Makes the Programm ready to Read-in a texture-File
     
    12521252}
    12531253
    1254 #endif /* HAVE_SDL_SDL_IMAGE_H */
     1254#endif /* HAVE_SDL_IMAGE */
  • TabularUnified 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.