new var[] must be delete with delete[] operator.
LOG_ERROR("GLESGraphicsystem", "GL Error occured :" << glErrorCode );
};
- delete textureCoordinates;
+ delete[] textureCoordinates;
}
bool GLESGraphicsystem::initOpenGLES(EGLint displayWidth, EGLint displayHeight)
};
currentSurface->frameCounter++;
currentSurface->drawCounter++;
- delete textureCoordinates;
+ delete[] textureCoordinates;
}
void GLXGraphicsystem::saveScreenShotOfFramebuffer(std::string fileToSave)