aboutsummaryrefslogtreecommitdiffstats
path: root/android/opengles.h
diff options
context:
space:
mode:
authorJesse Hall <jessehall@google.com>2012-04-25 22:05:07 -0700
committerJesse Hall <jessehall@google.com>2012-04-25 22:05:07 -0700
commit07ca7c270f22a2b1676395dd88bca340a46dc5d8 (patch)
tree80fe57b84409bf30164c4ef0c09ce46304153402 /android/opengles.h
parentbad93459e688146b35bd3ac12a97742655721b4b (diff)
downloadexternal_qemu-07ca7c270f22a2b1676395dd88bca340a46dc5d8.zip
external_qemu-07ca7c270f22a2b1676395dd88bca340a46dc5d8.tar.gz
external_qemu-07ca7c270f22a2b1676395dd88bca340a46dc5d8.tar.bz2
Rename a declaration to fix Mac SDK build
GCC on OS X is flagging a duplicate declaration error even though GCC on Linux isn't even warning about it. Not sure why. The declaration is duplicated, but identical. Renaming one of the two. Change-Id: I946b5f3a4e410b66e9ab2ae3160ff1bec4e0ddd7
Diffstat (limited to 'android/opengles.h')
-rw-r--r--android/opengles.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/android/opengles.h b/android/opengles.h
index 7bb6a3a..60e125d 100644
--- a/android/opengles.h
+++ b/android/opengles.h
@@ -17,8 +17,8 @@
#define ANDROID_OPENGLES_BASE_PORT 22468
/* See the description in render_api.h. */
-typedef void (*OnPostFn)(void* context, int width, int height, int ydir,
- int format, int type, unsigned char* pixels);
+typedef void (*OnPostFunc)(void* context, int width, int height, int ydir,
+ int format, int type, unsigned char* pixels);
/* Call this function to initialize the hardware opengles emulation.
* This function will abort if we can't find the corresponding host
@@ -31,7 +31,7 @@ int android_initOpenglesEmulation(void);
* may be NULL.
*/
int android_startOpenglesRenderer(int width, int height,
- OnPostFn onPost, void* onPostContext);
+ OnPostFunc onPost, void* onPostContext);
int android_showOpenglesWindow(void* window, int x, int y, int width, int height, float rotation);