Skip to content

Commit

Permalink
revert eglandroid
Browse files Browse the repository at this point in the history
  • Loading branch information
koying committed Jan 26, 2018
1 parent 19c5de4 commit bd858de
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions xbmc/windowing/egl/EGLNativeTypeAndroid.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -307,8 +307,8 @@ bool CEGLNativeTypeAndroid::SetNativeResolution(const RESOLUTION_INFO &res)
else if (abs(currentRefreshRate() - res.fRefreshRate) > 0.0001)
CXBMCApp::get()->SetRefreshRate(res.fRefreshRate);

EGLNativeWindowType* *nativeWindow = (EGLNativeWindowType**)CXBMCApp::GetNativeWindow(30000);
if (nativeWindow && *nativeWindow)
EGLNativeWindowType *nativeWindow = (EGLNativeWindowType*)CXBMCApp::GetNativeWindow(30000);
if (nativeWindow)
CXBMCApp::SetBuffersGeometry(res.iWidth, res.iHeight);

return true;
Expand Down

0 comments on commit bd858de

Please sign in to comment.