H A D | st_cb_drawtex.c | 201 #define SET_ATTRIB(VERT, ATTR, X, Y, Z, W) \ in st_DrawTex() macro 235 SET_ATTRIB(0, 0, clip_x0, clip_y0, z, 1.0f); /* lower left */ in st_DrawTex() 236 SET_ATTRIB(1, 0, clip_x1, clip_y0, z, 1.0f); /* lower right */ in st_DrawTex() 237 SET_ATTRIB(2, 0, clip_x1, clip_y1, z, 1.0f); /* upper right */ in st_DrawTex() 238 SET_ATTRIB(3, 0, clip_x0, clip_y1, z, 1.0f); /* upper left */ in st_DrawTex() 247 SET_ATTRIB(0, 1, c[0], c[1], c[2], c[3]); in st_DrawTex() 248 SET_ATTRIB(1, 1, c[0], c[1], c[2], c[3]); in st_DrawTex() 249 SET_ATTRIB(2, 1, c[0], c[1], c[2], c[3]); in st_DrawTex() 250 SET_ATTRIB(3, 1, c[0], c[1], c[2], c[3]); in st_DrawTex() 273 SET_ATTRIB( in st_DrawTex() 289 #undef SET_ATTRIB st_DrawTex() macro [all...] |