Sam Lantinga 5dcac4ccdf Fixed 4669 - Using the software SDL_Renderer on Android leads to GL errors & black screen when window resizes
Sylvain

I think what happening with the software renderer is:

* you're somehow in background (so texture creation is not possible)
* it resizes and wants to push a SDL_WINDOWEVENT_SIZE_CHANGED
It call:
https://hg.libsdl.org/SDL/file/a010811d40dd/src/render/SDL_render.c#l683
* GetOutputSize
* SW_GetOutputSize
* SW_ActivateRenderer
* SDL_GetWindowSurface
* SDL_CreateWindowFramebuffer which is mapped to SDL_CreateWindowTexture
and it ends up re-creating the surface/a texture, while being in background
2019-06-18 10:08:19 -07:00
2019-03-16 17:39:15 -07:00
2019-06-17 10:13:28 -07:00
2019-06-17 10:13:28 -07:00
2019-03-16 19:46:37 -07:00
2019-06-17 10:13:28 -07:00
2019-06-12 13:56:20 +03:00
2019-06-12 13:56:20 +03:00
2019-06-17 10:13:28 -07:00
2019-06-17 10:13:28 -07:00
2019-06-17 10:13:28 -07:00
2019-01-04 22:01:14 -08:00

                         Simple DirectMedia Layer

                                  (SDL)

                                Version 2.0

---
https://www.libsdl.org/

Simple DirectMedia Layer is a cross-platform development library designed
to provide low level access to audio, keyboard, mouse, joystick, and graphics
hardware via OpenGL and Direct3D. It is used by video playback software,
emulators, and popular games including Valve's award winning catalog
and many Humble Bundle games.

More extensive documentation is available in the docs directory, starting
with README.md

Enjoy!
	Sam Lantinga				(slouken@libsdl.org)
Description
No description provided
Readme 169 MiB
Languages
C 90.3%
Objective-C 3.5%
C++ 1.7%
CMake 1.7%
Java 0.8%
Other 1.8%