Skip to content

Commit 33c819a

Browse files
committed
sdl3: enable automatic video rendering detection
Take advantage of hardware acceleration capabilities where possible.
1 parent a750a04 commit 33c819a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/video.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,7 @@ static bool video_start(void) {
170170
return false;
171171
}
172172

173-
renderer = SDL_CreateRenderer(window, "software");
173+
renderer = SDL_CreateRenderer(window, NULL);
174174
if (renderer == NULL) {
175175
LOG_ERR("unable to create renderer: %s\n", SDL_GetError());
176176
return false;

0 commit comments

Comments
 (0)