Changeset 3925
- Timestamp:
- Nov 18, 2009, 2:02:20 AM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
libcaca/trunk/caca/triangle.c
r3912 r3925 185 185 caca_canvas_t *tex) 186 186 { 187 187 uint32_t savedattr; 188 188 189 #define SWAP_F(a, b) {float c = a; a = b; b = c; } 189 190 … … 210 211 tex); 211 212 213 savedattr = caca_get_attr(cv, -1, -1); 212 214 213 215 /* Clip texture coordinates */ … … 347 349 ub+=usl23; vb+=vsl23; 348 350 } 349 350 return 0; 351 352 caca_set_attr(cv, savedattr); 353 354 return 0; 351 355 } 352 356
Note: See TracChangeset
for help on using the changeset viewer.