Permalink
Browse files

Change condition for including static EGL

  • Loading branch information...
greggman committed Sep 11, 2012
1 parent f18baa0 commit cacae21e693299b5fc52e077444b9559a1460faf
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/regal/RegalDispatchGlobal.cpp
@@ -44,15 +44,15 @@ REGAL_NAMESPACE_BEGIN
DispatchTableGlobal dispatchTableGlobal;
-#if REGAL_SYS_ANDROID && REGAL_STATIC_EGL
+#if REGAL_SYS_ANDROID || REGAL_STATIC_EGL
extern void InitDispatchTableStaticEGL(DispatchTableGlobal &tbl);
#endif
DispatchTableGlobal::DispatchTableGlobal()
{
memset(this,0,sizeof(DispatchTableGlobal));
-#if REGAL_SYS_ANDROID && REGAL_STATIC_EGL
+#if REGAL_SYS_ANDROID || REGAL_STATIC_EGL
InitDispatchTableStaticEGL(*this);
#endif
}

0 comments on commit cacae21

Please sign in to comment.