Skip to content

Commit

Permalink
Fix get current surface for Android if use SDL
Browse files Browse the repository at this point in the history
  • Loading branch information
HadesD authored Sep 28, 2024
1 parent bb8b756 commit 1f80c90
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,9 @@ namespace Ogre {
"currentGLContext was specified with no current GL context",
"EGLWindow::create");
}

#if OGRE_BITES_HAVE_SDL
mEglSurface = eglGetCurrentSurface(EGL_DRAW);
#endif
mEglDisplay = eglGetCurrentDisplay();
}

Expand Down

0 comments on commit 1f80c90

Please sign in to comment.