build tweaks
This commit is contained in:
parent
5ae23c901b
commit
212a7a3fa7
|
|
@ -257,7 +257,7 @@ run() {
|
|||
// want to keep the glyph textures full-sized, because the
|
||||
// palettizer will reduce them later.
|
||||
|
||||
_tex_margin *= _scale_factor;
|
||||
_tex_margin = (int)(_tex_margin * _scale_factor);
|
||||
_poly_margin *= _scale_factor;
|
||||
_pixels_per_unit *= _scale_factor;
|
||||
_scale_factor = 1.0;
|
||||
|
|
@ -267,8 +267,8 @@ run() {
|
|||
// If -nr was specified, but we're still palettizing, we don't
|
||||
// even want to reduce the palette images. Instead, we'll
|
||||
// generate extra-large palette images.
|
||||
_palette_size[0] *= _palettize_scale_factor;
|
||||
_palette_size[1] *= _palettize_scale_factor;
|
||||
_palette_size[0] = (int)(_palette_size[0] * _palettize_scale_factor);
|
||||
_palette_size[1] = (int)(_palette_size[1] * _palettize_scale_factor);
|
||||
_palettize_scale_factor = 1.0;
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -1,5 +1,7 @@
|
|||
#begin ss_lib_target
|
||||
#define TARGET palettizer
|
||||
#define LOCAL_LIBS \
|
||||
pandatoolbase
|
||||
#define OTHER_LIBS \
|
||||
egg:c pgraph:c linmath:c putil:c express:c pnmimage:c pnmimagetypes:c \
|
||||
event:c mathutil:c \
|
||||
|
|
|
|||
Loading…
Reference in New Issue