File tree Expand file tree Collapse file tree 1 file changed +0
-15
lines changed Expand file tree Collapse file tree 1 file changed +0
-15
lines changed Original file line number Diff line number Diff line change @@ -20,9 +20,6 @@ pub enum DrawMode {
20
20
pub struct GlPipeline ( usize ) ;
21
21
22
22
struct DrawCall {
23
- // vertices: Vec<Vertex>,
24
- // indices: Vec<u16>,
25
-
26
23
vertices_count : usize ,
27
24
indices_count : usize ,
28
25
vertices_start : usize ,
@@ -49,8 +46,6 @@ impl DrawCall {
49
46
pipeline : GlPipeline ,
50
47
uniforms : Option < Vec < u8 > > ,
51
48
render_pass : Option < RenderPass > ,
52
- max_vertices : usize ,
53
- max_indices : usize ,
54
49
) -> DrawCall {
55
50
DrawCall {
56
51
vertices_start : 0 ,
@@ -68,14 +63,6 @@ impl DrawCall {
68
63
capture : false ,
69
64
}
70
65
}
71
-
72
- // fn vertices(&self) -> &[Vertex] {
73
- // &self.vertices[0..self.vertices_count]
74
- // }
75
-
76
- // fn indices(&self) -> &[u16] {
77
- // &self.indices[0..self.indices_count]
78
- // }
79
66
}
80
67
81
68
struct MagicSnapshotter {
@@ -927,8 +914,6 @@ impl QuadGl {
927
914
pip,
928
915
uniforms. clone ( ) ,
929
916
self . state . render_pass ,
930
- self . max_vertices ,
931
- self . max_indices ,
932
917
) ) ;
933
918
}
934
919
self . draw_calls [ self . draw_calls_count ] . texture = self . state . texture ;
You can’t perform that action at this time.
0 commit comments