projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
263b96e
)
mesa: revert partial commit for 0x0 render targets
author
Alan Hourihane
<alanh@vmware.com>
Thu, 15 Jan 2009 11:53:59 +0000
(11:53 +0000)
committer
Alan Hourihane
<alanh@vmware.com>
Thu, 15 Jan 2009 11:53:59 +0000
(11:53 +0000)
src/mesa/state_tracker/st_atom_framebuffer.c
patch
|
blob
|
history
diff --git
a/src/mesa/state_tracker/st_atom_framebuffer.c
b/src/mesa/state_tracker/st_atom_framebuffer.c
index e14f55681cd6c6e90f2eac8a1e5586cc0c3a2e52..ca1a719a9ac720e5a1fc34a37eeb0fd04cb58c79 100644
(file)
--- a/
src/mesa/state_tracker/st_atom_framebuffer.c
+++ b/
src/mesa/state_tracker/st_atom_framebuffer.c
@@
-55,11
+55,10
@@
update_renderbuffer_surface(struct st_context *st,
int rtt_width = strb->Base.Width;
int rtt_height = strb->Base.Height;
- if (texture &&
- (!strb->surface ||
- strb->surface->texture != texture ||
- strb->surface->width != rtt_width ||
- strb->surface->height != rtt_height)) {
+ if (!strb->surface ||
+ strb->surface->texture != texture ||
+ strb->surface->width != rtt_width ||
+ strb->surface->height != rtt_height) {
GLuint level;
/* find matching mipmap level size */
for (level = 0; level <= texture->last_level; level++) {