This fully threads both the real minimum size of the texture and the dimensions of the texture through to the TA parameters. This also removes spurious zero-area drawing commands (space characters).
15 lines
234 B
C++
15 lines
234 B
C++
#pragma once
|
|
|
|
#include <cstdint>
|
|
|
|
struct window_curve_ix {
|
|
struct {
|
|
uint16_t width;
|
|
uint16_t height;
|
|
} window;
|
|
uint32_t max_z_curve_ix;
|
|
};
|
|
|
|
struct window_curve_ix
|
|
pack_all(struct rect * rects, const uint32_t num_rects);
|