Skip to content

Commit

Permalink
Merge pull request #12098 from stefansaraev/aml-res
Browse files Browse the repository at this point in the history
[fix] amlogic: 4k resolutions after f9d8ab7
  • Loading branch information
lrusak committed May 16, 2017
2 parents ef20fac + 62ca8ff commit 95a82b7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions xbmc/windowing/amlogic/WinSystemAmlogic.cpp
Expand Up @@ -131,8 +131,8 @@ bool CWinSystemAmlogic::CreateNewWindow(const std::string& name,
m_bFullScreen = fullScreen;

fbdev_window *nativeWindow = new fbdev_window;
nativeWindow->width = res.iScreenWidth;
nativeWindow->height = res.iScreenHeight;
nativeWindow->width = res.iWidth;
nativeWindow->height = res.iHeight;
m_nativeWindow = static_cast<EGLNativeWindowType>(nativeWindow);

aml_set_native_resolution(res, m_framebuffer_name);
Expand Down

0 comments on commit 95a82b7

Please sign in to comment.