X-Git-Url: http://de.git.xonotic.org/?a=blobdiff_plain;f=gl_backend.h;h=e11be01487f9585686b8f3c40f4916b4f2e53ad3;hb=f5b602ea082842a416c64c63e2b3e00585624945;hp=4a60799922601a266006cec702d7ff281828f7be;hpb=d16bba0c20b57d2d5f6e5547024c4c5a8c1cf2c4;p=xonotic%2Fdarkplaces.git diff --git a/gl_backend.h b/gl_backend.h index 4a607999..e11be014 100644 --- a/gl_backend.h +++ b/gl_backend.h @@ -99,12 +99,8 @@ void R_Mesh_ColorPointer(const float *color4f, int bufferobject, size_t bufferof void R_Mesh_TexCoordPointer(unsigned int unitnum, unsigned int numcomponents, const float *texcoord, int bufferobject, size_t bufferoffset); // sets all textures bound to an image unit (multiple can be non-zero at once, according to OpenGL rules the highest one overrides the others) void R_Mesh_TexBindAll(unsigned int unitnum, int tex2d, int tex3d, int texcubemap, int texrectangle); -// sets these are like TexBindAll with only one of the texture indices non-zero -// (binds one texture type and unbinds all other types) +// equivalent to R_Mesh_TexBindAll(unitnum,tex2d,0,0,0) void R_Mesh_TexBind(unsigned int unitnum, int texnum); -void R_Mesh_TexBind3D(unsigned int unitnum, int texnum); -void R_Mesh_TexBindCubeMap(unsigned int unitnum, int texnum); -void R_Mesh_TexBindRectangle(unsigned int unitnum, int texnum); // sets the texcoord matrix for a texenv unit void R_Mesh_TexMatrix(unsigned int unitnum, const matrix4x4_t *matrix); // sets the combine state for a texenv unit