From 74a35d8be1720fa48261fd07e2a9e43efb0819aa Mon Sep 17 00:00:00 2001 From: twinaphex Date: Thu, 21 Feb 2019 21:48:58 +0100 Subject: [PATCH] (GL2) Add GL1 fallback --- gfx/drivers/gl.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/gfx/drivers/gl.c b/gfx/drivers/gl.c index 486f976c28..8db33be4de 100644 --- a/gfx/drivers/gl.c +++ b/gfx/drivers/gl.c @@ -3329,7 +3329,11 @@ static void *gl2_init(const video_info_t *video, #ifdef _WIN32 if (string_is_equal(vendor, "Microsoft Corporation")) if (string_is_equal(renderer, "GDI Generic")) +#ifdef HAVE_OPENGL1 + rarch_force_video_driver_fallback("gl1"); +#else rarch_force_video_driver_fallback("gdi"); +#endif #endif hwr = video_driver_get_hw_context();