Permalink
Browse files

Merge pull request #3355 from popcornmix/fixbuildegl

[EGL] Fix build after #3298
  • Loading branch information...
davilla committed Oct 1, 2013
2 parents daf8040 + 7905496 commit 229d7988a072c77329a7d3daf1f2d4935e0c4614
Showing with 4 additions and 0 deletions.
  1. +4 −0 xbmc/windowing/egl/EGLNativeTypeAndroid.cpp
@@ -76,10 +76,14 @@ bool CEGLNativeTypeAndroid::GetNativeDisplay(XBNativeDisplayType **nativeDisplay
bool CEGLNativeTypeAndroid::GetNativeWindow(XBNativeWindowType **nativeWindow) const
{
+#if defined(TARGET_ANDROID)
if (!nativeWindow)
return false;
*nativeWindow = (XBNativeWindowType*) CXBMCApp::GetNativeWindow(30000);
return (*nativeWindow != NULL);
+#else
+ return false;
+#endif
}
bool CEGLNativeTypeAndroid::DestroyNativeDisplay()

0 comments on commit 229d798

Please sign in to comment.