mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-03 02:15:43 -04:00
extract out troublesome png
This commit is contained in:
parent
a2d3f7d1ac
commit
e56762a452
@ -13,12 +13,13 @@
|
||||
#define SOURCES \
|
||||
config_pnmimagetypes.h pnmFileTypeAlias.h pnmFileTypeBMP.h \
|
||||
pnmFileTypeIMG.h \
|
||||
pnmFileTypePNG.h \
|
||||
pnmFileTypePNM.h \
|
||||
pnmFileTypeSGI.h pnmFileTypeSoftImage.h \
|
||||
pnmFileTypeTGA.h \
|
||||
pnmFileTypeTIFF.h \
|
||||
pnmFileTypeJPG.h
|
||||
pnmFileTypeJPG.h \
|
||||
// These are separate because of png's silly setjmp problem.
|
||||
pnmFileTypePNG.h pnmFileTypePNG.cxx
|
||||
|
||||
#define INCLUDED_SOURCES \
|
||||
config_pnmimagetypes.cxx pnmFileTypeAlias.cxx \
|
||||
@ -26,7 +27,6 @@
|
||||
pnmFileTypeBMP.cxx \
|
||||
pnmFileTypeIMG.cxx \
|
||||
pnmFileTypeJPG.cxx pnmFileTypeJPGReader.cxx pnmFileTypeJPGWriter.cxx \
|
||||
pnmFileTypePNG.cxx \
|
||||
pnmFileTypePNM.cxx \
|
||||
pnmFileTypeSGI.cxx \
|
||||
pnmFileTypeSGIReader.cxx pnmFileTypeSGIWriter.cxx \
|
||||
|
@ -19,12 +19,12 @@
|
||||
|
||||
#ifdef HAVE_PNG
|
||||
|
||||
#include <png.h>
|
||||
|
||||
#include "pnmFileType.h"
|
||||
#include "pnmReader.h"
|
||||
#include "pnmWriter.h"
|
||||
|
||||
#include <png.h>
|
||||
|
||||
////////////////////////////////////////////////////////////////////
|
||||
// Class : PNMFileTypePNG
|
||||
// Description : For reading and writing PNG files.
|
||||
|
@ -1,4 +1,3 @@
|
||||
#include "pnmFileTypePNG.cxx"
|
||||
#include "pnmFileTypeTIFF.cxx"
|
||||
#include "pnmFileTypePNM.cxx"
|
||||
#include "pnmFileTypeSGI.cxx"
|
||||
|
Loading…
x
Reference in New Issue
Block a user