Set SDL hint to prefer software render driver (#1646)
This commit is contained in:
parent
a4561e76ad
commit
8a1a34c1ff
|
@ -160,6 +160,8 @@ int main(int argc, char **argv) {
|
||||||
SDL_SetHint("SDL_MOUSE_DOUBLE_CLICK_RADIUS", "4");
|
SDL_SetHint("SDL_MOUSE_DOUBLE_CLICK_RADIUS", "4");
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
SDL_SetHint(SDL_HINT_RENDER_DRIVER, "software");
|
||||||
|
|
||||||
SDL_DisplayMode dm;
|
SDL_DisplayMode dm;
|
||||||
SDL_GetCurrentDisplayMode(0, &dm);
|
SDL_GetCurrentDisplayMode(0, &dm);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue