hi,
I 've strange issue, any call to buffer objects (e.g. glIsBuffer, glGenBuffers ) causes the access violation. I’ve glut 3.7.6 and glew -1.5.8 properly installed and required files are placed in the folder ( same as glut folder procedure for glew files ). One more weird thing is ctrl+space invokes the code completion and I can iterate through buffer functions glIsBuffer, glGenBuffers, glBindBuffer, etc… (is that a proof that glew loaded properly?) but codeinsight doesn’t give a hint about its arguments after putting the paranthesis "glGenBuffers( ". Seems that I’m refering to unallocated/unitialized objects, but couldn’t figured out what and where?
include <GL/glew.h>
#include <GL/wglew.h>
#include <GL/glut.h>
#define VERTICES 0
#define INDICES 1
#define NUM_BUFFERS 2
GLuint buffers[NUM_BUFFERS];
void init(void)
{
glGenBuffers(NUM_BUFFERS, buffers); // debugger fires AV
// code omitted here
}