build on windows

This commit is contained in:
David Rose 2006-07-28 21:22:36 +00:00
parent 7834728560
commit 376e11fdfd
3 changed files with 10 additions and 2 deletions

View File

@ -17,8 +17,15 @@
#begin lib_target
#define TARGET txafile
#define BUILDING_DLL BUILDING_MISC
#define LOCAL_LIBS \
palettizer
#define OTHER_LIBS \
egg:c pgraph:c downloader:c gobj:c lerp:c linmath:c putil:c \
express:c pnmimage:c pnmimagetypes:c \
event:c mathutil:c \
pandaegg:m panda:m pandaexpress:m \
interrogatedb:c dtoolutil:c dtoolbase:c prc:c dconfig:c dtoolconfig:m dtool:m pystub
#define SOURCES \
txaFileFilter.h txaFileFilter.I txaFileFilter.cxx

View File

@ -97,7 +97,7 @@ post_load(Texture *tex) {
// Create an EggTexture to pass back the requested alpha mode to
// the egg loader, if the texture is now being loaded from an egg
// file.
PT(EggTexture) egg_tex = new EggTexture(tex->get_name(), tex->get_fullpath());
PT_EggTexture egg_tex = new EggTexture(tex->get_name(), tex->get_fullpath());
const TextureProperties &props = tex_image.get_properties();
egg_tex->set_alpha_mode(tex_image.get_alpha_mode());

View File

@ -21,6 +21,7 @@
#include "pandatoolbase.h"
#include "texturePoolFilter.h"
#include "pt_EggTexture.h"
class TxaFile;
@ -46,7 +47,7 @@ class TxaFile;
// that filters for which this might be a problem should
// call tex->set_keep_ram_image(true).
////////////////////////////////////////////////////////////////////
class EXPCL_PANDA TxaFileFilter : public TexturePoolFilter {
class EXPCL_MISC TxaFileFilter : public TexturePoolFilter {
public:
virtual PT(Texture) post_load(Texture *tex);