mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-04 10:54:24 -04:00
build on windows
This commit is contained in:
parent
7834728560
commit
376e11fdfd
@ -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
|
||||
|
@ -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());
|
||||
|
@ -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);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user