summaryrefslogtreecommitdiffstats
path: root/include/ui/egl/android_natives.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/ui/egl/android_natives.h')
-rw-r--r--include/ui/egl/android_natives.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/ui/egl/android_natives.h b/include/ui/egl/android_natives.h
index 972e799..0a6e4fb 100644
--- a/include/ui/egl/android_natives.h
+++ b/include/ui/egl/android_natives.h
@@ -291,6 +291,9 @@ struct ANativeWindow
void* reserved_proc[2];
};
+// Backwards compatibility... please switch to ANativeWindow.
+typedef struct ANativeWindow android_native_window_t;
+
/*
* native_window_set_usage(..., usage)
* Sets the intended usage flags for the next buffers