diff --git a/Source/Glide64/Main.cpp b/Source/Glide64/Main.cpp index 4576e8802..8ba6237b6 100644 --- a/Source/Glide64/Main.cpp +++ b/Source/Glide64/Main.cpp @@ -1602,6 +1602,10 @@ void CALL PluginLoaded(void) WriteTrace(TraceInterface, TraceDebug, "Done"); } +#ifdef ANDROID +void vbo_disable(void); +#endif + /****************************************************************** Function: RomClosed Purpose: This function is called when a rom is closed. @@ -1612,6 +1616,9 @@ void CALL RomClosed(void) { WriteTrace(TraceGlide64, TraceDebug, "-"); +#ifdef ANDROID + vbo_disable(); +#endif rdp.window_changed = TRUE; g_romopen = FALSE; if (evoodoo) @@ -2381,7 +2388,6 @@ void CALL SurfaceChanged(int width, int height) { g_width = width; g_height = height; - init_combiner(); } #endif