X-Git-Url: http://de.git.xonotic.org/?a=blobdiff_plain;f=gl_backend.h;h=343f66b53be5de64d60a96edc790abb655f9670e;hb=d2878a072b9a0399379741b3e19536b7327cb388;hp=d5940a3722657d9204165d0ad71cfc8873395b0d;hpb=73624ef15d754ca65acb6f2037989fb582cd7b92;p=xonotic%2Fdarkplaces.git diff --git a/gl_backend.h b/gl_backend.h index d5940a37..343f66b5 100644 --- a/gl_backend.h +++ b/gl_backend.h @@ -46,8 +46,11 @@ typedef struct int texalphascale[MAX_TEXTUREUNITS]; // used only if COMBINE is present int texcombinergb[MAX_TEXTUREUNITS]; // works with or without combine for some operations int texcombinealpha[MAX_TEXTUREUNITS]; // does nothing without combine + // matrices + matrix4x4_t texmatrix[MAX_TEXTUREUNITS]; // pointers - const float *pointer_texcoord[MAX_TEXTUREUNITS]; + const float *pointer_texcoord[MAX_TEXTUREUNITS]; // 2D + const float *pointer_texcoord3f[MAX_TEXTUREUNITS]; // 3D // other state set by this const float *pointer_vertex; @@ -68,9 +71,6 @@ void R_Mesh_Finish(void); // sets up the requested transform matrix void R_Mesh_Matrix(const matrix4x4_t *matrix); -// sets up the requested transform matrix -void R_Mesh_TextureMatrix(int unitnumber, const matrix4x4_t *matrix); - // set up the requested state void R_Mesh_State(const rmeshstate_t *m);