You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
c39192ba64
SDL_PIXELFORMAT_RGBA32 is intended for byte arrays where the channels are specifically in the RGBA order. However, this is not what GetTexDataAsRGBA32 does: rather, it constructs an array where each pixel is an unsigned int in ABGR order. On little-endian platforms, this does indeed result in an RGBA byte order, however, on big-endian platforms, this results in an ABGR byte order, which does not match the PIXELFORMAT enum. What should be used is the SDL_PIXELFORMAT_ABGR8888 enum, which specifies that the pixels are in native-endian ABGR, which they are. |
3 years ago | |
---|---|---|
.. | ||
vulkan | 4 years ago | |
imgui_impl_allegro5.cpp | 3 years ago | |
imgui_impl_allegro5.h | 3 years ago | |
imgui_impl_android.cpp | 3 years ago | |
imgui_impl_android.h | 3 years ago | |
imgui_impl_dx9.cpp | 3 years ago | |
imgui_impl_dx9.h | 4 years ago | |
imgui_impl_dx10.cpp | 3 years ago | |
imgui_impl_dx10.h | 4 years ago | |
imgui_impl_dx11.cpp | 3 years ago | |
imgui_impl_dx11.h | 4 years ago | |
imgui_impl_dx12.cpp | 3 years ago | |
imgui_impl_dx12.h | 3 years ago | |
imgui_impl_glfw.cpp | 3 years ago | |
imgui_impl_glfw.h | 3 years ago | |
imgui_impl_glut.cpp | 3 years ago | |
imgui_impl_glut.h | 3 years ago | |
imgui_impl_metal.h | 3 years ago | |
imgui_impl_metal.mm | 3 years ago | |
imgui_impl_opengl2.cpp | 3 years ago | |
imgui_impl_opengl2.h | 4 years ago | |
imgui_impl_opengl3.cpp | 3 years ago | |
imgui_impl_opengl3.h | 3 years ago | |
imgui_impl_opengl3_loader.h | 3 years ago | |
imgui_impl_osx.h | 3 years ago | |
imgui_impl_osx.mm | 3 years ago | |
imgui_impl_sdl.cpp | 3 years ago | |
imgui_impl_sdl.h | 3 years ago | |
imgui_impl_sdlrenderer.cpp | 3 years ago | |
imgui_impl_sdlrenderer.h | 3 years ago | |
imgui_impl_vulkan.cpp | 3 years ago | |
imgui_impl_vulkan.h | 3 years ago | |
imgui_impl_wgpu.cpp | 3 years ago | |
imgui_impl_wgpu.h | 4 years ago | |
imgui_impl_win32.cpp | 3 years ago | |
imgui_impl_win32.h | 3 years ago |