mirror of
https://github.com/GRRLIB/GRRLIB.git
synced 2024-11-22 06:52:20 +00:00
[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:
parent
01adcdf9b9
commit
0c784c800d
3 changed files with 2 additions and 4 deletions
|
@ -21,6 +21,7 @@ THE SOFTWARE.
|
|||
------------------------------------------------------------------------------*/
|
||||
#include <grrlib.h>
|
||||
#include <stdio.h>
|
||||
#include <pngu.h>
|
||||
|
||||
/**
|
||||
* Load a file to memory.
|
||||
|
|
|
@ -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.
|
||||
|
|
|
@ -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++
|
||||
|
|
Loading…
Reference in a new issue