Code cleanup: small glsl mesh drawing code changes, getting rid of an ugly macro.

This commit is contained in:
2011-08-12 18:17:28 +00:00
parent ceb9dfbdac
commit a7de5fc191
4 changed files with 55 additions and 30 deletions

View File

@@ -526,7 +526,7 @@ void weight_to_rgb(float input, float *fr, float *fg, float *fb);
typedef struct DMVertexAttribs {
struct {
struct MTFace *array;
int emOffset, glIndex;
int emOffset, glIndex, glTexco;
} tface[MAX_MTFACE];
struct {
@@ -541,7 +541,7 @@ typedef struct DMVertexAttribs {
struct {
float (*array)[3];
int emOffset, glIndex;
int emOffset, glIndex, glTexco;
} orco;
int tottface, totmcol, tottang, totorco;