diff options
author | Eric Anholt <[email protected]> | 2012-04-23 14:14:11 -0700 |
---|---|---|
committer | Eric Anholt <[email protected]> | 2012-05-04 14:00:32 -0700 |
commit | b7406404aba1817d5a87714f97a108a755943452 (patch) | |
tree | 277c5da982d7ad16aeff2555965de9f6ff6fdf72 /src/mesa/math/m_translate.c | |
parent | 6508b0b9b0981662b9ae5bc559b4a6be524f7b86 (diff) |
intel: Return success when asked to allocate a 0-width/height renderbuffer.
It seems silly that GL lets you allocate these given that they're
framebuffer attachment incomplete, but the webgl conformance tests
actually go looking to see if the getters on 0-width/height
depth/stencil renderbuffers return good values. By failing out here,
they all got smashed to 0, which turned out to be correct for all the
getters they tested except for GL_RENDERBUFFER_INTERNAL_FORMAT. Now,
by succeeding but not making a miptree, that one also returns the
expected value.
Acked-by: Kenneth Graunke <[email protected]>
Diffstat (limited to 'src/mesa/math/m_translate.c')
0 files changed, 0 insertions, 0 deletions