diff options
author | Brian Paul <[email protected]> | 2010-04-23 13:13:27 -0600 |
---|---|---|
committer | Brian Paul <[email protected]> | 2010-04-23 13:16:37 -0600 |
commit | 4aa4fe8e2103ee43e77f404ef790125dd4d690e5 (patch) | |
tree | 141c70737375944663586e98d772385aac204203 /progs/demos/ipers.c | |
parent | 8283db88414f600e66510de713382c36899d4b03 (diff) |
st/mesa: re-do binding flags in st_ChooseTextureFormat(), again
Try to specify render target bindings flags first. If that fails, try
again with just sampler view binding. Note that we try to create the
texture resource with render target binding flags later when we allocate
the texture. Then, in FBO validation, we check if we can actually render
to the textures. If that fails, we generate GL_FRAMEBUFFER_UNSUPPORTED_EXT.
Changes suggested by Jose.
Diffstat (limited to 'progs/demos/ipers.c')
0 files changed, 0 insertions, 0 deletions