mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-06 11:31:49 +00:00
GfxContext, render refactor
This commit is contained in:
parent
ea729760d4
commit
e3743b8463
12 changed files with 270 additions and 103 deletions
|
|
@ -361,3 +361,7 @@ void Batch2D::render(unsigned int gl_primitive) {
|
|||
void Batch2D::render() {
|
||||
render(GL_TRIANGLES);
|
||||
}
|
||||
|
||||
void Batch2D::lineWidth(float width) {
|
||||
glLineWidth(width);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue