summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChia-I Wu <olvaffe@gmail.com>2011-03-16 19:40:45 +0800
committerChia-I Wu <olvaffe@gmail.com>2011-03-16 20:18:40 +0800
commit06608674d0b4bdd3aa91c3e13aa4303ab81dbe85 (patch)
tree8ceed5ac9c83eb3e02edb7db8be588c9c89021cc
parent9f119b3c5157d313fe57b2e0d9ed26f0789fa7a8 (diff)
egl_android: update surface geometry
-rw-r--r--src/egl/drivers/android/droid.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/egl/drivers/android/droid.c b/src/egl/drivers/android/droid.c
index 853415f146..04e07b8f21 100644
--- a/src/egl/drivers/android/droid.c
+++ b/src/egl/drivers/android/droid.c
@@ -159,6 +159,9 @@ droid_get_buffers_with_format(__DRIdrawable * driDrawable,
return NULL;
}
+ dsurf->base.Width = dsurf->buffer->width;
+ dsurf->base.Height = dsurf->buffer->height;
+
if (width)
*width = dsurf->buffer->width;
if (height)