![]() |
|
#1
|
|||
|
|||
OpenGL always reports errorThe following code has been reduced to the minimum necessary to produce the error:
CPP / C++ / C Code:
The output is: Code:
My full program produces the desired 3D drawing, except with some texture mapping errors that I am trying to locate using glGetError(). However, no matter where I make the call I get this same error, 1282 = 0x502 = GL_INVALID_OPERATION. Even if I make an OpenGL call that I know is in error and should produce a different error code, I still get this one. Any ideas? Thanks, Mark |
|||
|
#2
|
|||
|
|||
|
I forgot to mention:
I am using the DevC++ compiler environment under WindowsXP and using the FLTK GUI toolkit. |
|
#3
|
|||
|
|||
|
From what little I've seen on this, this is one of those vague errors that pop up for a multitude of reasons. I can suggest is to try updating your graphics drivers, as I've heard some drivers don't get on well with gl.
Invalid Operation errors sound like you're calling something inside glBegin() and glEnd()that you shouldn't be, or somethign outside that should be inside. I'm afraid I know nothing else to help, so I suggest you visit the www.opengl.org for more expert advice! Sorry GF |
Recent GIDBlog
Toyota - 2009 May Promotion by Nihal
| Thread Tools | Search this Thread |
| Rate This Thread | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Parse error: parse error, expecting `T_STRING' or `T_VARIABLE' or `T_NUM_STRING' in | ukrspp21 | MySQL / PHP Forum | 33 | 02-Sep-2009 20:42 |
| Operator Overloading: << | aaroncohn | C++ Forum | 36 | 07-Dec-2004 20:22 |
| Visual C++ 6 Compiler error | vip3r | C++ Forum | 2 | 13-Apr-2004 15:34 |
| compilation error | cameron | C++ Forum | 18 | 20-Feb-2004 01:41 |
| [script] E-mail webmaster error page | BobbyDouglas | PHP Code Library | 0 | 19-Aug-2003 21:10 |
Network Sites: GIDNetwork · GIDWebHosts · GIDSearch · Learning Journal by J de Silva, The