diff options
author | Paul Berry <[email protected]> | 2013-11-19 21:47:04 -0800 |
---|---|---|
committer | Paul Berry <[email protected]> | 2013-11-21 18:16:44 -0800 |
commit | af1471dc04cc89822bab2c253c808880dd47c25a (patch) | |
tree | cc7c09f3888d7d468892d7a086c28da64575f9f2 /src/mesa/main/condrender.h | |
parent | 08315233509f1fa7dc1e877aed2a8517296cf86e (diff) |
mesa: Fix texture target validation for glFramebufferTexture()
Previously we were using the code path for validating
glFramebufferTextureLayer(). But glFramebufferTexture() allows
additional texture types.
Fixes piglit tests:
- spec/!OpenGL 3.2/layered-rendering/gl-layer-cube-map
- spec/!OpenGL 3.2/layered-rendering/framebuffertexture
Cc: "10.0" <[email protected]>
Reviewed-by: Jordan Justen <[email protected]>
Reviewed-by: Chris Forbes <[email protected]>
v2: Clarify comment above framebuffer_texture().
Reviewed-by: Ian Romanick <[email protected]>
Diffstat (limited to 'src/mesa/main/condrender.h')
0 files changed, 0 insertions, 0 deletions