Skip to content

Commit

Permalink
remove dummy
Browse files Browse the repository at this point in the history
  • Loading branch information
goeiecool9999 committed Mar 10, 2024
1 parent 494c27e commit 7ce0ce0
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions src/Cafe/HW/Latte/Renderer/OpenGL/OpenGLRenderer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -245,17 +245,6 @@ void LoadOpenGLImports()
#undef EGLFUNC
#undef EGLFUNC_CUSTOM_NAME
}

#if BOOST_OS_LINUX
// dummy function for all code that is statically linked with cemu and attempts to use eglSwapInterval
// used to suppress wxWidgets calls to eglSwapInterval
// Real eglSwapInterval is a function pointer defined as eglSwapIntervalCemu
EGLAPI EGLBoolean EGLAPIENTRY eglSwapInterval (EGLDisplay dpy, EGLint interval)
{
return EGL_TRUE;
}
#endif

#elif BOOST_OS_MACOS
void LoadOpenGLImports()
{
Expand Down

0 comments on commit 7ce0ce0

Please sign in to comment.