diff options
author | Erik Kundiman <erik@megapahit.org> | 2024-06-22 14:26:04 +0800 |
---|---|---|
committer | Erik Kundiman <erik@megapahit.org> | 2024-07-01 13:25:00 +0800 |
commit | 9b4cbc5a9cbbe9ecbd8366f079a5a44885750095 (patch) | |
tree | 47989d94b08e56f464670ed43bc370f9edb5eb12 /indra/newview/skins/default | |
parent | cadf6842074bed0ece498f53ed17abf75861c7da (diff) |
Fix core profile set not taking effect on SDL2
From https://wiki.libsdl.org/SDL2/MigrationGuide
"So now that your window is back on the screen, let's talk strategy.
SDL2 still has SDL_Surface, but what you want, if possible, is the new
SDL_Texture. Surfaces are always in system RAM now, and are always
operated on by the CPU, so we want to get away from there. SDL2 has a
new rendering API. It's meant for use by simple 2D games, but most
notably, it's meant to get all that software rendering into video RAM
and onto the GPU. And even if you just want to use it to get your
software renderer's work to the screen, it brings some very nice
benefits: if possible, it will use OpenGL or Direct3D behind the scenes,
which means you'll get faster blits, a working Steam Overlay, and
scaling for free."
Diffstat (limited to 'indra/newview/skins/default')
0 files changed, 0 insertions, 0 deletions