Open elect86 opened 8 years ago
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
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