Skip to content

Commit b9b798d

Browse files
committed
[Tow-Boot] sandbox: Disable accelerated rendering
Somehow I must be doing something wrong with my setup, but it won't find the EGL context. To be investigated I suppose.
1 parent efd9606 commit b9b798d

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

arch/sandbox/cpu/sdl.c

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -164,9 +164,7 @@ int sandbox_sdl_init_display(int width, int height, int log2_bpp,
164164
SDL_GetError());
165165
return -EIO;
166166
}
167-
sdl.renderer = SDL_CreateRenderer(sdl.screen, -1,
168-
SDL_RENDERER_ACCELERATED |
169-
SDL_RENDERER_PRESENTVSYNC);
167+
sdl.renderer = SDL_CreateRenderer(sdl.screen, -1, SDL_RENDERER_SOFTWARE);
170168
if (!sdl.renderer) {
171169
printf("Unable to initialise SDL renderer: %s\n",
172170
SDL_GetError());

0 commit comments

Comments
 (0)