summaryrefslogtreecommitdiff
path: root/src/gallium/state_trackers/xorg/xorg_exa.h
diff options
context:
space:
mode:
authorKeith Whitwell <keithw@vmware.com>2009-11-27 15:28:46 +0000
committerKeith Whitwell <keithw@vmware.com>2009-11-27 15:30:18 +0000
commit4236493899b9ccfcc8df3dcf81697776621fa1f8 (patch)
treed07e53f0337d8267d9275d9819b23464bb5407b3 /src/gallium/state_trackers/xorg/xorg_exa.h
parent1310811469e7a1e27669ad1513b5bd4a60207c4f (diff)
st/xorg: proper fix for compositing after rounding up
Basically don't round up shared textures. This fixes compiz, but I'm afraid that rounding up texture sizes here in the driver is doomed, as it will inevitably break texture wrap modes.
Diffstat (limited to 'src/gallium/state_trackers/xorg/xorg_exa.h')
-rw-r--r--src/gallium/state_trackers/xorg/xorg_exa.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gallium/state_trackers/xorg/xorg_exa.h b/src/gallium/state_trackers/xorg/xorg_exa.h
index 0c29187486..f2cefe23b9 100644
--- a/src/gallium/state_trackers/xorg/xorg_exa.h
+++ b/src/gallium/state_trackers/xorg/xorg_exa.h
@@ -49,6 +49,8 @@ struct exa_context
struct exa_pixmap_priv
{
+ int width, height;
+
int flags;
int tex_flags;