public void draw()
    {
        if (texture != null)
            texture.bind();

        glEnableVertexAttribArray(0);
        glEnableVertexAttribArray(1);

        glBindBuffer(GL_ARRAY_BUFFER, vbo);
        glVertexAttribPointer(0, 3, GL_FLOAT, false, Vertex.SIZE * 4, 0);

        glBindBuffer(GL_ELEMENT_ARRAY_BUFFER, ibo);
        glDrawElements(GL_TRIANGLES, size, GL_UNSIGNED_INT, 0);
        glDrawElements(GL_TRIANGLES, size, GL_UNSIGNED_INT, 1);

        glDisableVertexAttribArray(0);
        glDisableVertexAttribArray(1);
    }