Now its compiling very fine but i am gettin error at the last line of
the below given code.
application start normally but when i am creating new file it will
give exception.
WCBackgroundLayer::WCBackgroundLayer(WCScene
*scene) : ::WCLayer(scene, "Background"),
_perfLevel(PerformanceLow), _vertexBuffer(0), _colorBuffer(0),
_altVertexBuffer(NULL), _altColorBuffer(NULL),
_llColor(BACKGROUNDLAYER_BOTTOM_COLOR),
_lrColor(BACKGROUNDLAYER_BOTTOM_COLOR),
_ulColor(BACKGROUNDLAYER_TOP_COLOR),
_urColor(BACKGROUNDLAYER_TOP_COLOR) {
//Set performance level
if(WCAdapter::HasGLARBVertexBufferObject()) {
//Set the higher performance level
this->_perfLevel = PerformanceMedium;
//If there are VBOs, create them
glGenBuffers(1, &this->_vertexBuffer);
On Aug 29, 3:17 am, "Graham Hemingway" <
graham.heming...@gmail.com>
wrote:
> I bet that this is because I had not included the file for STL export into
> the project. I believe that I fixed this (otherwise you would have been
> getting an error!)
>