Rockbox open source high quality audio player as a Music Player Daemon
mpris rockbox mpd libadwaita audio rust zig deno
2
fork

Configure Feed

Select the types of activity you want to include in your feed.

sdl: Remove SDL_RENDERER_ACCELERATED flag

The flag would apparently make hardware accelerated
rendering mandatory. SDL2 will still attempt to use
hardware acceleration, if the flag is missing.

Change-Id: Icfdcad90591d2a5003a1540f2a669c7e54dcfc3b

authored by

Christian Soffke and committed by
Solomon Peachy
8b9ef7cf 7d60b135

+1 -1
+1 -1
firmware/target/hosted/sdl/system-sdl.c
··· 124 124 if ((window = SDL_CreateWindow(UI_TITLE, SDL_WINDOWPOS_CENTERED, SDL_WINDOWPOS_CENTERED, 125 125 width * display_zoom, height * display_zoom , flags)) == NULL) 126 126 panicf("%s", SDL_GetError()); 127 - if ((sdlRenderer = SDL_CreateRenderer(window, -1, SDL_RENDERER_ACCELERATED | SDL_RENDERER_PRESENTVSYNC)) == NULL) 127 + if ((sdlRenderer = SDL_CreateRenderer(window, -1, SDL_RENDERER_PRESENTVSYNC)) == NULL) 128 128 panicf("%s", SDL_GetError()); 129 129 if ((gui_surface = SDL_CreateRGBSurface(0, width * display_zoom, height * display_zoom, depth, 130 130 0, 0, 0, 0)) == NULL)