diff options
-rw-r--r-- | src/egl/drivers/android/droid.c | 3 |
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) |