diff options
author | Simon Farnsworth <[email protected]> | 2011-09-29 14:51:41 +0100 |
---|---|---|
committer | Brian Paul <[email protected]> | 2011-09-29 13:46:48 -0600 |
commit | c6f9d80ad2d11b44c38098cd0ae2eb91d31b86d9 (patch) | |
tree | 917b6dd9bc5389f7f37b67c7dc1ba1c81dbe0a1e /src/mesa/main/condrender.h | |
parent | e7843273fae516fa9922f12053bb6c063b39921c (diff) |
gallium: Set renderbuffer's InternalFormat when rendering to texture
When an FBO is rendering to a texture (rather than a renderbuffer),
Gallium sets up an internal renderbuffer to handle the rendering, and
copies over enough texture state to make this work.
InternalFormat was missed out, causing glTexCopyImage to take a slow
path unnecessarily.
Fixes https://bugs.freedesktop.org/show_bug.cgi?id=41263
Signed-off-by: Simon Farnsworth <[email protected]>
Signed-off-by: Brian Paul <[email protected]>
Diffstat (limited to 'src/mesa/main/condrender.h')
0 files changed, 0 insertions, 0 deletions