Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

gl-330-texture-integer-rgb10a2ui #6

Open
elect86 opened this issue Jan 6, 2016 · 1 comment
Open

gl-330-texture-integer-rgb10a2ui #6

elect86 opened this issue Jan 6, 2016 · 1 comment

Comments

@elect86
Copy link
Collaborator

elect86 commented Jan 6, 2016

Caused by: com.jogamp.opengl.GLException: type 0x8036/format 0x8d99 not supported [yet], pls notify the maintainer in case this is our bug.

https://jogamp.org/bugzilla/show_bug.cgi?id=1279

@elect86
Copy link
Collaborator Author

elect86 commented Feb 11, 2016

It seems opengl doesn't like this combo

            gl3.glTexImage2D(GL_TEXTURE_2D, 0,
//                    format.internal.value,
                    Gl.InternalFormat.INTERNAL_RGB10A2U.value,
                    texture.dimensions(0)[0], texture.dimensions(0)[1],
                    0,
//                    format.external.value,
                    Gl.ExternalFormat.EXTERNAL_RGBA_INTEGER.value,
//                                        format.type.value,
                    GL_UNSIGNED_INT_10_10_10_2,
                    texture.data(0));

GlDebugOutput.messageSent(): GLDebugEvent[ id 0x500
    type Error
    severity High: dangerous undefined behavior
    source GL API
    msg GL_INVALID_ENUM error generated. Texture type and format combination is not valid.
    when 1455179079879
    source 4.5 (Core profile, arb, debug, compat[ES2, ES3, ES31, ES32], FBO, hardware) - 4.5.0 NVIDIA 361.43 - hash 0x4ad65ad9]

but on C it runs flawless, wtf

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant