Hello all! I'm a graduate student working on a side project using OpenGL with AMD... I keep running into an issue when running my programs that is caused by atioglxx.dll writing to an inaccessible location. From what I have found, its a driver issue, but one that seems to be most prominent back in 2009/10... Does anyone have any ideas as to how to approach solving this issue?
Using GLEW for Extension wrapping.
Using GLFW3 for windowing.
GFX Card: RX480 8GB
OGL Version: 4.5.13474
Comparability Profile Context: 126.96.36.199
GLuint cubeVAO = 0;
GLuint cubeVBO = 0;
// Initialize (if necessary)
if (cubeVAO == 0)
glBufferData(GL_ARRAY_BUFFER, sizeof(cube) * sizeof(GLfloat), cube, GL_STATIC_DRAW);
glBindVertexArray(cubeVAO); <- Issue happens here... "Exception thrown at 0x68F7F391 (atioglxx.dll) in lightedCubes.exe: 0xC0000005: Access violation writing location 0x00001E78."
glVertexAttribPointer(0, 3, GL_FLOAT, GL_FALSE, 8 * sizeof(GLfloat), (GLvoid*)0);
glVertexAttribPointer(1, 3, GL_FLOAT, GL_FALSE, 8 * sizeof(GLfloat), (GLvoid*)(3 * sizeof(GLfloat)));
glVertexAttribPointer(2, 2, GL_FLOAT, GL_FALSE, 8 * sizeof(GLfloat), (GLvoid*)(6 * sizeof(GLfloat)));
//Bind the buffer and array
// Render Cube
glDrawArrays(GL_TRIANGLES, 0, 36);