Deleting a two dimensional array...
Hello,
Consider the following code snippet:
1 2 3 4 5 6
|
GLfloat box[4][4] = {
{ x2, -y2, 0, 0 },
{ x2 + w, -y2, 1, 0 },
{ x2, -y2 - h, 0, 1 },
{ x2 + w, -y2 - h, 1, 1 },
};
|
Do I need to call a variant of
Against this float array?
Thank you.
No. You do not need to call delete[] on anything not created by new[]
Topic archived. No new replies allowed.