diff options
Diffstat (limited to 'source/blender/gpu/gawain/batch.h')
-rw-r--r-- | source/blender/gpu/gawain/batch.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/source/blender/gpu/gawain/batch.h b/source/blender/gpu/gawain/batch.h index a328d649663..763c4c1c495 100644 --- a/source/blender/gpu/gawain/batch.h +++ b/source/blender/gpu/gawain/batch.h @@ -38,7 +38,7 @@ typedef struct Batch{ } Batch; Batch* Batch_create(PrimitiveType, VertexBuffer*, ElementList*); -void Batch_init(Batch* batch, PrimitiveType prim_type, VertexBuffer* verts, ElementList* elem); +void Batch_init(Batch*, PrimitiveType, VertexBuffer*, ElementList*); void Batch_discard(Batch*); // verts & elem are not discarded void Batch_discard_all(Batch*); // including verts & elem @@ -58,6 +58,9 @@ void Batch_Uniform3fv(Batch*, const char* name, const float data[3]); void Batch_Uniform4fv(Batch*, const char* name, const float data[4]); void Batch_draw(Batch*); + + +// clement : temp stuff void Batch_draw_stupid(Batch* batch); void Batch_draw_stupid_instanced(Batch* batch, unsigned int instance_vbo, int instance_count); |