diff options
author | Ilia Mirkin <[email protected]> | 2016-07-08 14:24:38 -0400 |
---|---|---|
committer | Ilia Mirkin <[email protected]> | 2016-07-11 21:18:05 -0400 |
commit | da7223ebdc82609a112aae24003bbdc154c170bf (patch) | |
tree | d40e2ecc9664cbc286b333044dab676bd5fe5e52 /src/mesa/main/texstore.h | |
parent | 8b7607d28a4d0db43a9bc5618d7f6ff44daa0dc2 (diff) |
mesa: set _NEW_BUFFERS when updating texture bound to current buffers
When a glTexImage call updates the parameters of a currently bound
framebuffer, we might miss out on revalidating whether it is complete.
Make sure to set _NEW_BUFFERS which will trigger the revalidation in
that case.
Also while we're at it, fix the fb parameter passed in to the eventual
RenderTexture call.
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=94148
Signed-off-by: Ilia Mirkin <[email protected]>
Cc: "11.2 12.0" <[email protected]>
Reviewed-by: Marek Olšák <[email protected]>
Tested-by: Emmanuel Gil Peyrot <[email protected]>
Diffstat (limited to 'src/mesa/main/texstore.h')
0 files changed, 0 insertions, 0 deletions