Permalink
Browse files

Change condition for including static EGL

  • Loading branch information...
1 parent f116c63 commit 4acfbbd0f4eab31d359a1237fd103b3045f434f7 @greggman greggman committed Sep 11, 2012
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 4acfbbd

Please sign in to comment.