Commit 338af41a authored by gman@chromium.org's avatar gman@chromium.org

make egl_native.cc compile on OSX

No idea why this doesn't work sometimes. It works for me but
not for others. Maybe which verison of XCode?

BUG=83382


Review URL: https://chromiumcodereview.appspot.com/10826152

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@150029 0039d316-1c4b-4281-b951-d872f2087c98
parent 730ec10a
...@@ -23,14 +23,14 @@ void GTFNativeDestroyPixmap(EGLNativeDisplayType nativeDisplay, ...@@ -23,14 +23,14 @@ void GTFNativeDestroyPixmap(EGLNativeDisplayType nativeDisplay,
EGLImageKHR GTFCreateEGLImageExternal( EGLImageKHR GTFCreateEGLImageExternal(
int width, int height, int format, int width, int height, int format,
float r, float g, float b, float a, void** resource) { float r, float g, float b, float a, void** resource) {
return (EGLImageKHR)NULL; return (EGLImageKHR)0;
} }
void GTFDestroyEGLImageExternal(EGLImageKHR image, void* resource) { void GTFDestroyEGLImageExternal(EGLImageKHR image, void* resource) {
} }
const int* GTFQueryFormatsEGLImageExternal(void) { const int* GTFQueryFormatsEGLImageExternal(void) {
return NULL; return 0;
} }
GTFbool GTFIsAlphaFormatEGLImageExternal(int format) { GTFbool GTFIsAlphaFormatEGLImageExternal(int format) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment