[Mesa-dev] GL_INVALID_OPERATION in glFramebufferTexture2D(textarget=0x3)
Michel Dänzer
michel at daenzer.net
Fri Feb 1 00:56:36 PST 2013
On Fre, 2013-02-01 at 07:45 +0000, Ramesh Reddy Emmadi wrote:
>
> I am getting the following error while using glFramebufferTexture2D in
> mesa es2 demos in mesa-9.0.2 and mesa-8.0.4 code . Can you please let
> me know, how to resolve this error.
>
> "GL_INVALID_OPERATION in glFramebufferTexture2D(textarget=0x3)"
Have you checked the ES2 spec for conditions under which
glFramebufferTexture2D may raise GL_INVALID_OPERATION?
Also, if you run the app in a debugger, you can set a breakpoint on
_mesa_error to see where the error is raised from.
Note that it may simply be due to the issues Chad mentioned, that ES2
just isn't fully working without OpenGL support yet. Is there any
particular reason why you want to disable OpenGL support? I don't think
at this point you can really gain a lot by disabling it.
--
Earthling Michel Dänzer | http://www.amd.com
Libre software enthusiast | Debian, X and DRI developer
More information about the mesa-dev
mailing list