[SDL2] VITA: Can't create any render at all
Hello!
Since possibly this moment (and leading fixes), the SDL_Render thing on Vita won't initialize at all. I found this problem on SDL2 2.30.6 after I updated my project to use it. When I ran the old version 2.28.5, everything works just fine (the Vita SDK's current version).
Some additional note: because of this bug, any program will fail that attempts to use the renderer, it will just won't boot because of failed renderer. If @icculus or somebody also will not fix the thing faster than me, I will try to perform something by myself today or tomorrow (depends on how fast I will finish my main work tasks).
I probably won't get to this until next week, so if you get there first, feel free to fix it. :)
Can't reproduce (using modified https://github.com/vitasdk/samples/tree/master/sdl2/redrectangle that outputs sdl version and renderer info)
using: VITA gxm renderer
using: 2.30.8 sdl
Using non-default flags
SDL_CreateRenderer( gWindow, -1, SDL_RENDERER_ACCELERATED|SDL_RENDERER_PRESENTVSYNC|SDL_RENDERER_TARGETTEXTURE)
like theXTech does also works fine
Hello! Any news regarding this? Last time when I tested the thing, it still fails...
Oh wait, there are some @isage's notes that I didn't verified, I should verify them first with the latest SDL2 to see how that works.
Hello! Just now I got news!
I found reason of this problem: it happens ONLY when SDL2 built with MinSizeRel config, but it works when SDL2 itself built as Release but the user application built as MinSizeRel. Looks absolutely weird... It's supposed to work on MinSizeRel too, just having more compact binaries.