Set SDL hint to prefer software render driver (#1646)
This commit is contained in:
parent
e520227d35
commit
05e7fc4e43
|
@ -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