glDrawArrays() for a closed line loop (polygon) crashes in some platforms, but why we couldn't find any reason for. Replaced code with regular glBegin() and glEnd().
glDrawArrays() for a closed line loop (polygon) crashes in some platforms, but why we couldn't find any reason for. Replaced code with regular glBegin() and glEnd().