diff options
author | Dylan Noblesmith <[email protected]> | 2012-04-29 13:23:53 +0000 |
---|---|---|
committer | Dylan Noblesmith <[email protected]> | 2012-04-30 14:52:47 +0000 |
commit | 18bb6852b234a69530a4a6f3ff4e9d33b8e8c7fb (patch) | |
tree | 95c4b1db76cdf9e4d298be8e5f2ee3b35d8f0278 /src/glx/apple | |
parent | 4c23acb269b3d30b9840fcb36edf01410b2f9213 (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/glx/apple')
0 files changed, 0 insertions, 0 deletions