aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium/state_trackers/vega/vg_context.h
diff options
context:
space:
mode:
authorChia-I Wu <[email protected]>2010-01-18 12:05:25 +0800
committerChia-I Wu <[email protected]>2010-01-18 12:07:57 +0800
commit1ed63119452396e764a0f5b11db78903a2594df1 (patch)
tree8e2e2ec221f2320ceec44be8b2fde44774f0b2f9 /src/gallium/state_trackers/vega/vg_context.h
parentef517c9385521f6e46a1f56ef6817518434ca349 (diff)
st/vega: Fix window resizing with egl_g3d.
egl_g3d calls st_set_framebuffer_surface on window resize. It updates the renderbuffer's geometry and makes st_resize_framebuffer a no-op. This commit improves the no-op check a little bit. It can do better after gallium-fb-dimensions is merged.
Diffstat (limited to 'src/gallium/state_trackers/vega/vg_context.h')
-rw-r--r--src/gallium/state_trackers/vega/vg_context.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/state_trackers/vega/vg_context.h b/src/gallium/state_trackers/vega/vg_context.h
index ff8c1a04217..bc88c8d139d 100644
--- a/src/gallium/state_trackers/vega/vg_context.h
+++ b/src/gallium/state_trackers/vega/vg_context.h
@@ -50,7 +50,7 @@ struct st_renderbuffer {
};
struct st_framebuffer {
- VGint init_width, init_height;
+ VGint width, height;
struct st_renderbuffer *strb;
struct st_renderbuffer *dsrb;