Skip to content

Commit

Permalink
FIX: [droid] Crash after regaining focus (fixes xbmc#13455)
Browse files Browse the repository at this point in the history
  • Loading branch information
koying committed Nov 1, 2012
1 parent 0be99e9 commit 64ce046
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion xbmc/windowing/egl/EGLNativeType.h
Expand Up @@ -145,5 +145,5 @@ class CEGLNativeType

protected:
XBNativeDisplayType m_nativeDisplay;
XBNativeWindowType m_nativeWindow;
mutable XBNativeWindowType m_nativeWindow;
};

This comment has been minimized.

Copy link
@davilla

davilla Nov 2, 2012

is there a reason this needs to be mutable ?

This comment has been minimized.

Copy link
@koying

koying via email Nov 2, 2012

Author Owner
1 change: 1 addition & 0 deletions xbmc/windowing/egl/EGLNativeTypeAndroid.cpp
Expand Up @@ -78,6 +78,7 @@ bool CEGLNativeTypeAndroid::GetNativeWindow(XBNativeWindowType **nativeWindow) c
{
if (!nativeWindow)
return false;
m_nativeWindow = CXBMCApp::GetNativeWindow();
*nativeWindow = (XBNativeWindowType*) &m_nativeWindow;
return true;
}
Expand Down

0 comments on commit 64ce046

Please sign in to comment.