summaryrefslogtreecommitdiffstats
path: root/src/glsl/link_functions.cpp
diff options
context:
space:
mode:
authorDylan Noblesmith <[email protected]>2012-04-29 13:23:53 +0000
committerDylan Noblesmith <[email protected]>2012-04-30 14:52:47 +0000
commit18bb6852b234a69530a4a6f3ff4e9d33b8e8c7fb (patch)
tree95c4b1db76cdf9e4d298be8e5f2ee3b35d8f0278 /src/glsl/link_functions.cpp
parent4c23acb269b3d30b9840fcb36edf01410b2f9213 (diff)
mesa: reject immutable textures in glEGLImageTargetTexture2DOES()
GL_ARB_texture_storage says: The commands eglBindTexImage, wglBindTexImageARB, glXBindTexImageEXT or EGLImageTargetTexture2DOES are not permitted on an immutable-format texture. They will generate the following errors: - EGLImageTargetTexture2DOES: INVALID_OPERATION - eglBindTexImage: EGL_BAD_MATCH - wglBindTexImage: ERROR_INVALID_OPERATION - glXBindTexImageEXT: BadMatch Fixing the EGL and GLX cases requires extending the DRI interface, since setTexBuffer2 doesn't currently return any error information. Reviewed-by: Brian Paul <[email protected]>
Diffstat (limited to 'src/glsl/link_functions.cpp')
0 files changed, 0 insertions, 0 deletions