I am trying to run an operation on a texture. The code worked on my old computer but since I moved to a new one it’s stopped working. I used the glGetError function to try and establish when the problem was occuring. I found it happens when glBindFramebufferEXT is called:
GLuint fbo; glGenFramebuffersEXT(1, &fbo); GLenum err = glGetError(); glBindFramebufferEXT(GL_FRAMEBUFFER_EXT, fbo); err = glGetError();
At first err is equal to GL_NO_ERROR but after the call it is equal to GL_OUT_OF_MEMORY. Any ideas?
Thanks in advance.