[BUG] template was not working on devkitPro 18

[CHG] pngu.h is needed in GRRLIB_texSetup.h for GRRLIB_ScrShot
[CHG] pngu.h and jpeglib.h are not needed in GRRLIB_texSetup.h
This commit is contained in:
Crayon2000 2009-10-21 01:34:15 +00:00
parent 01adcdf9b9
commit 0c784c800d
3 changed files with 2 additions and 4 deletions

View file

@ -21,6 +21,7 @@ THE SOFTWARE.
------------------------------------------------------------------------------*/
#include <grrlib.h>
#include <stdio.h>
#include <pngu.h>
/**
* Load a file to memory.

View file

@ -26,12 +26,9 @@ THE SOFTWARE.
*/
#include <malloc.h>
#include <pngu.h>
#include <stdio.h>
#include <string.h>
#include <jpeglib.h> // this bad header file must be included last :(
/**
* Create an empty texture.
* @param w Width of the new texture to create.

View file

@ -45,7 +45,7 @@ LIBS += -lm
# Compilers & utils which we will be using
#-------------------------------------------------------------------------------
BINDIR := $(DEVKITPPC)/bin
PREFIX := $(BINDIR)/powerpc-gekko-
PREFIX := $(BINDIR)/powerpc-eabi-
CC := $(PREFIX)gcc
CXX := $(PREFIX)g++