Commit 1b3d4e6d0ec0e2e19d24a8a8895161a9c4dac22c

Sam Lantinga 2014-06-22T09:42:43

565 textures have higher priority than 555 textures

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
diff --git a/src/render/software/SDL_render_sw.c b/src/render/software/SDL_render_sw.c
index aa640e4..1e5673b 100644
--- a/src/render/software/SDL_render_sw.c
+++ b/src/render/software/SDL_render_sw.c
@@ -88,8 +88,8 @@ SDL_RenderDriver SW_RenderDriver = {
       SDL_PIXELFORMAT_BGRA8888,
       SDL_PIXELFORMAT_RGB888,
       SDL_PIXELFORMAT_BGR888,
-      SDL_PIXELFORMAT_RGB555,
-      SDL_PIXELFORMAT_RGB565
+      SDL_PIXELFORMAT_RGB565,
+      SDL_PIXELFORMAT_RGB555
      },
      0,
      0}