Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 3103 in orxonox.OLD for orxonox/branches/images/importer/material.h


Ignore:
Timestamp:
Dec 5, 2004, 5:01:10 PM (19 years ago)
Author:
bensch
Message:

orxonox/branches/images: testing SDL_image. It rocks.

File:
1 edited

Legend:

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

    r3098 r3103  
    1414#include <stdlib.h>
    1515#include <fstream>
     16
     17#if HAVE_CONFIG_H
     18#include <config.h>
     19#endif
     20
     21#ifdef HAVE_SDL_SDL_IMAGE_H
     22#include <SDL/SDL_image.h>
     23#endif
    1624
    1725// IMAGE LIBS //
     
    92100
    93101  bool loadImage(char* imageName, GLuint* texture);
     102#ifndef HAVE_SDL_SDL_IMAGE_H
    94103
    95104  bool loadBMP (char* bmpName, GLuint* texture);
     
    104113
    105114  bool loadPNG(const char* pngName, GLuint* texture);
     115#endif
    106116};
    107117#endif
Note: See TracChangeset for help on using the changeset viewer.