Commit 953101defd8287baef6e340393a03cb9c8f6f64b

Ivan Epifanov 2021-01-09T22:55:11

Oops. Fix default framebuffer color

1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/src/video/vita/SDL_vitaframebuffer.c b/src/video/vita/SDL_vitaframebuffer.c
index ab63236..26f0496 100644
--- a/src/video/vita/SDL_vitaframebuffer.c
+++ b/src/video/vita/SDL_vitaframebuffer.c
@@ -78,7 +78,7 @@ int VITA_CreateWindowFramebuffer(_THIS, SDL_Window * window, Uint32 * format, vo
     for (int y = 0; y < SCREEN_H; y++) {
         unsigned int *row = (unsigned int *)data->buffer + y * SCREEN_W;
         for (int x = 0; x < SCREEN_W; x++) {
-            row[x] = 0xff0000FF;
+            row[x] = 0x000000FF;
         }
     }