OS is Windows 7. Garphics card is a Radeon X1300 / X1550 Series
I've tried this in both Microsoft Visual C++ Express and in CodeBlocks, and the same examples break in both.
terrainExample was just one example. I'm getting the same error in a lot of the examples.
When running terrainExample, it breaks here:
void ofVbo::setVertexData(const float * vert0x, int numCoords, int total, int usage, int stride) {
if(vert0x == NULL) {
ofLog(OF_LOG_WARNING,"ofVbo: bad vertex data!\n");
return;
}
if(!bUsingVerts) {
bAllocated = true;
bUsingVerts = true;
glGenBuffers(1, &(vertId)); //RIGHT HERE
retain(vertId);
}
...
}When running graphicsExample, it breaks here:
void ofGLRenderer::setBlendMode(ofBlendMode blendMode){
switch (blendMode){
case OF_BLENDMODE_ALPHA:{
glEnable(GL_BLEND);
#ifndef TARGET_OPENGLES
glBlendEquation(GL_FUNC_ADD); //RIGHT HERE
#endif
glBlendFunc(GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA);
break;
}
...
}
}graphicsExample won't break if I comment out a line in testApp::draw() that says "ofEnableAlphaBlending();" but that's necessary for the transparency.
moviePlayerExample breaks here:
void ofTexture::draw(float x, float y, float z, float w, float h){
// make sure we are on unit 0 - we may change this when setting shader samplers
// before glEnable or else the shader gets confused
/// ps: maybe if bUsingArbTex is enabled we should use glActiveTextureARB?
glActiveTexture(GL_TEXTURE0); // RIGHT HERE
...
}