OpenGL error 1282

Hi.

I'm really desperate. I used OpenGL with C++ for months. Then I formatted my computer and, for some reason, I couldn't load textures anymore. I spread glGetError's all over my code and I saw that some part of the code was getting an error 1282, which is GL_INVALID_OPERATION. In the end, I got to the smaller code possible:

1
2
3
4
5
6
7
8
9
#include <Windows.h>
#include <GL\gl.h>

int main(int argc, char ** argv)
{
    GLenum error = glGetError();

    return 0;
}


And it still gives me that 1282 error. I really don't know what could be the problem.
closed account (S6k9GNh0)
I see forum posts about bad drivers.
Sorry, can you explain more?
closed account (S6k9GNh0)
We have no idea about how the underlying implementation of the OpenGL drivers. The best you can do is read the documentation and go troubleshooting yourself. It's better to get a correct answer through documentation than getting a third-party answer through a forum post...
Last edited on
Topic archived. No new replies allowed.