New upstream version 24.0.1+dfsg1
This commit is contained in:
parent
b14f9eae6d
commit
5a730d6ec3
842 changed files with 42245 additions and 33385 deletions
|
|
@ -21,10 +21,10 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|||
|
||||
gs_vertbuffer_t *create_uv_vbuffer(uint32_t num_verts, bool add_color);
|
||||
void draw_uv_vbuffer(gs_vertbuffer_t *vbuf, gs_texture_t *tex,
|
||||
gs_effect_t *effect, uint32_t num_verts);
|
||||
gs_effect_t *effect, uint32_t num_verts);
|
||||
|
||||
#define set_v3_rect(a, x, y, w, h) \
|
||||
vec3_set(a, x, y, 0.0f); \
|
||||
#define set_v3_rect(a, x, y, w, h) \
|
||||
vec3_set(a, x, y, 0.0f); \
|
||||
vec3_set(a + 1, x + w, y, 0.0f); \
|
||||
vec3_set(a + 2, x, y + h, 0.0f); \
|
||||
vec3_set(a + 3, x, y + h, 0.0f); \
|
||||
|
|
@ -32,14 +32,14 @@ void draw_uv_vbuffer(gs_vertbuffer_t *vbuf, gs_texture_t *tex,
|
|||
vec3_set(a + 5, x + w, y + h, 0.0f);
|
||||
|
||||
#define set_v2_uv(a, u, v, u2, v2) \
|
||||
vec2_set(a, u, v); \
|
||||
vec2_set(a + 1, u2, v); \
|
||||
vec2_set(a + 2, u, v2); \
|
||||
vec2_set(a + 3, u, v2); \
|
||||
vec2_set(a + 4, u2, v); \
|
||||
vec2_set(a, u, v); \
|
||||
vec2_set(a + 1, u2, v); \
|
||||
vec2_set(a + 2, u, v2); \
|
||||
vec2_set(a + 3, u, v2); \
|
||||
vec2_set(a + 4, u2, v); \
|
||||
vec2_set(a + 5, u2, v2);
|
||||
|
||||
#define set_rect_colors2(a, c1, c2) \
|
||||
uint32_t *b = a; \
|
||||
b[0] = b[1] = b[4] = c1; \
|
||||
uint32_t *b = a; \
|
||||
b[0] = b[1] = b[4] = c1; \
|
||||
b[2] = b[3] = b[5] = c2;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue