diff options
Diffstat (limited to 'frontend/shared_cpp/OrthographicRenderer.h')
-rw-r--r-- | frontend/shared_cpp/OrthographicRenderer.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/frontend/shared_cpp/OrthographicRenderer.h b/frontend/shared_cpp/OrthographicRenderer.h index 0cdfc78..cef5305 100644 --- a/frontend/shared_cpp/OrthographicRenderer.h +++ b/frontend/shared_cpp/OrthographicRenderer.h @@ -35,10 +35,9 @@ struct OrthographicShape { uint32 vao; uint32 vbo; uint32 numVertices = 0; - OrthographicVertex* vertices = NULL; Mat4x4 model; void load(OrthographicVertex* vertices, uint32 numVertices, OrthographicRenderer* renderer); - void render(OrthographicRenderer* renderer); + void render(OrthographicRenderer* renderer, GLenum drawType = GL_TRIANGLES); void unload(); };
\ No newline at end of file |