summaryrefslogtreecommitdiff
path: root/src/egl
diff options
context:
space:
mode:
authorChia-I Wu <olvaffe@gmail.com>2009-09-18 17:12:11 +0800
committerChia-I Wu <olvaffe@gmail.com>2009-09-18 17:13:13 +0800
commit3c718c0e95583c3c080bb0e7020b39066a265fa1 (patch)
tree98ebe0edf9d0c9dbed44aa9fce86ac6d9522f9c9 /src/egl
parent3806be3ddb8766860e267b9183997c456b226089 (diff)
egl_android: Initialize __DRIbuffer properly.
Diffstat (limited to 'src/egl')
-rw-r--r--src/egl/drivers/android/droid_intel.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/egl/drivers/android/droid_intel.c b/src/egl/drivers/android/droid_intel.c
index e553a4c981..2f1b26c53f 100644
--- a/src/egl/drivers/android/droid_intel.c
+++ b/src/egl/drivers/android/droid_intel.c
@@ -131,6 +131,7 @@ create_buffer(int fd, GLint width, GLint height, GLint cpp, __DRIbuffer *buffer)
buffer->name = flink.name;
buffer->cpp = cpp;
+ buffer->flags = 0;
return create.handle;
}