Oops. Fix default framebuffer color

This commit is contained in:
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++) {
unsigned int *row = (unsigned int *)data->buffer + y * SCREEN_W;
for (int x = 0; x < SCREEN_W; x++) {
row[x] = 0xff0000FF;
row[x] = 0x000000FF;
}
}