Login  Register

Re: A provided enum value is not accepted by this operation...

Posted by Sven Gothel on Apr 03, 2013; 7:54pm
URL: https://forum.jogamp.org/A-provided-enum-value-is-not-accepted-by-this-operation-tp4028892p4028896.html

On 04/03/2013 06:52 PM, cubus [via jogamp] wrote:
> hi,
>
> using gDEBugger and enabling the NVIDIA Driver Instrumentation i get tons of
> these messages.
> for example, here are the messages produced when calling
> GLProfile.get(GLProfile.GL4).

Pls check our bug report FAQ (we need more details from your platform)!

You may run w/
  -Djogl.debug.DebugGL -Djogl.debug.TraceGL

DebugGL also uses the OpenGL debug features ..


> OGLE: Category: 0x00000001, MessageID: 0x00800001
>       A provided enum value is not accepted by this operation:  <pname>
>       enum is invalid; expected GL_TEXTURE_ENV_MODE,
>       GL_TEXTURE_ENV_COLOR, GL_COMBINE_RGB, GL_COMBINE_ALPHA,
>       GL_SRC0_RGB, GL_SRC1_RGB, GL_SRC2_RGB, etc. (15 others).
>
> OGLE: Category: 0x00000001, MessageID: 0x00800001
>       A provided enum value is not accepted by this operation:  <pname>
>       enum is invalid; expected GL_TEXTURE_ENV_MODE,
>       GL_TEXTURE_ENV_COLOR, GL_COMBINE_RGB, GL_COMBINE_ALPHA,
>       GL_SRC0_RGB, GL_SRC1_RGB, GL_SRC2_RGB, etc. (15 others).
>
> OGLE: Category: 0x00000001, MessageID: 0x00800001
>       A provided enum value is not accepted by this operation:  <pname>
>       enum is invalid; expected GL_TEXTURE_ENV_MODE,
>       GL_TEXTURE_ENV_COLOR, GL_COMBINE_RGB, GL_COMBINE_ALPHA,
>       GL_SRC0_RGB, GL_SRC1_RGB, GL_SRC2_RGB, etc. (15 others).
>
> OGLE: Category: 0x00000001, MessageID: 0x00800001
>       A provided enum value is not accepted by this operation:  <pname>
>       enum is invalid; expected GL_TEXTURE_ENV_MODE,
>       GL_TEXTURE_ENV_COLOR, GL_COMBINE_RGB, GL_COMBINE_ALPHA,
>       GL_SRC0_RGB, GL_SRC1_RGB, GL_SRC2_RGB, etc. (15 others).
This is interesting, since we don't use TEXTURE_ENV_MODE
while initializing JOGL.

~Sven



signature.asc (911 bytes) Download Attachment