]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - gl_backend.h
no more m.transparent, transparent surfaces are sorted using MeshQueue now
[xonotic/darkplaces.git] / gl_backend.h
index 51c6a12f8a59a0d26ed77bcbe2e4feafe2a91c15..3cbb69946905f80d1268af65301092309b64de12 100644 (file)
@@ -9,7 +9,6 @@ extern int c_meshtris, c_meshs, c_transtris, c_transmeshs;
 typedef struct
 {
        //input to R_Mesh_Draw_GetBuffer
-       int transparent;
        int depthwrite; // force depth writing enabled even if polygon is not opaque
        int depthdisable; // disable depth read/write entirely
        int blendfunc1;
@@ -48,10 +47,6 @@ void R_Mesh_ClearDepth(void);
 // (only valid between R_Mesh_Start and R_Mesh_Finish)
 void R_Mesh_Render(void);
 
-// renders the queued transparent meshs
-// (only valid between R_Mesh_Start and R_Mesh_Finish)
-void R_Mesh_AddTransparent(void);
-
 // allocates space in geometry buffers, and fills in pointers to the buffers in passsed struct
 // (it is up to the caller to fill in the geometry data)
 // (make sure you scale your colors by the colorscale field)