added resizing to osx window

This commit is contained in:
Omar Mohamed Ali Mudhir
2017-01-25 09:15:22 +00:00
parent 9d6171c7d8
commit 2f042c3e95
7 changed files with 127 additions and 21 deletions

View File

@@ -45,7 +45,7 @@ void Shape::draw_stroke() const
glBindVertexArray(0);
}
bool Rect::create(float w, float h)
bool RectShape::create(float w, float h)
{
static GLushort idx[6 + 8] {
0, 1, 2,