Oops. Fix default framebuffer color

main
Ivan Epifanov 2021-01-09 22:55:11 +03:00 committed by Sam Lantinga
parent 1e2eed1a01
commit 953101defd
1 changed files with 1 additions and 1 deletions

View File

@ -78,7 +78,7 @@ int VITA_CreateWindowFramebuffer(_THIS, SDL_Window * window, Uint32 * format, vo
for (int y = 0; y < SCREEN_H; y++) { for (int y = 0; y < SCREEN_H; y++) {
unsigned int *row = (unsigned int *)data->buffer + y * SCREEN_W; unsigned int *row = (unsigned int *)data->buffer + y * SCREEN_W;
for (int x = 0; x < SCREEN_W; x++) { for (int x = 0; x < SCREEN_W; x++) {
row[x] = 0xff0000FF; row[x] = 0x000000FF;
} }
} }