Fixes black boxes issue with GL when video is reinitialized (#1076)

7 jobs for master in 10 minutes and 9 seconds (queued for 10 minutes and 37 seconds)
Status Name Job ID Coverage
  Build Shared
passed android-arm64-v8a #328959

00:01:01

passed android-armeabi-v7a #328958

00:01:00

passed android-x86_64 #328960

00:01:01

passed libretro-build-linux-x64 #328956

00:01:12

passed libretro-build-osx-x64 #328957
macosx

00:03:04

passed libretro-build-windows-i686 #328955

00:01:17

passed libretro-build-windows-x64 #328954

00:01:31