summaryrefslogtreecommitdiff
path: root/src/egl/drivers
diff options
context:
space:
mode:
authorChia-I Wu <olvaffe@gmail.com>2009-09-18 15:42:48 +0800
committerChia-I Wu <olvaffe@gmail.com>2009-09-18 15:42:48 +0800
commit3806be3ddb8766860e267b9183997c456b226089 (patch)
tree8acc30219c5e76275e8ee315e679ac29c23d5fbd /src/egl/drivers
parent94f9330609ec305d998e58abfddfbbdf8ae51c9d (diff)
egl_android: Remove unused variables.
Diffstat (limited to 'src/egl/drivers')
-rw-r--r--src/egl/drivers/android/droid_intel.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/egl/drivers/android/droid_intel.c b/src/egl/drivers/android/droid_intel.c
index 18fe3bfc95..e553a4c981 100644
--- a/src/egl/drivers/android/droid_intel.c
+++ b/src/egl/drivers/android/droid_intel.c
@@ -280,7 +280,6 @@ intel_create_window_surface(struct droid_backend *backend,
NativeWindowType win)
{
struct droid_surface_intel *isurf;
- uint32_t pitch, cpp;
if (!win) {
LOGE("invalid native window");
@@ -295,9 +294,6 @@ intel_create_window_surface(struct droid_backend *backend,
return NULL;
}
- cpp = ui_bytes_per_pixel(win->format);
- pitch = win->stride * cpp;
-
isurf = calloc(1, sizeof(*isurf));
if (!isurf) {
_eglError(EGL_BAD_ALLOC, "eglCreateWindowSurface");