Skip to content

Commit

Permalink
opengles2: Restore previous default texture_formats.
Browse files Browse the repository at this point in the history
They were inadvertently byteswapped when making the rest of the backend
bigendian-friendly.

Fixes #11031.
  • Loading branch information
icculus committed Oct 4, 2024
1 parent 643437f commit 9f7ccbe
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/render/opengles2/SDL_render_gles2.c
Original file line number Diff line number Diff line change
Expand Up @@ -2220,8 +2220,8 @@ SDL_RenderDriver GLES2_RenderDriver = {
{ "opengles2",
(SDL_RENDERER_ACCELERATED | SDL_RENDERER_PRESENTVSYNC | SDL_RENDERER_TARGETTEXTURE),
4,
{ SDL_PIXELFORMAT_RGBA32,
SDL_PIXELFORMAT_BGRA32,
{ SDL_PIXELFORMAT_BGRA32,
SDL_PIXELFORMAT_ABGR32,
SDL_PIXELFORMAT_BGRX32,
SDL_PIXELFORMAT_RGBX32 },
0,
Expand Down

0 comments on commit 9f7ccbe

Please sign in to comment.