ladybird/Ports/chester/patches/disable_opengl.patch

23 lines
929 B
Diff
Raw Normal View History

diff --git a/src/app/main.c b/src/app/main.c
index cfd46b8..fc47912 100644
--- a/src/app/main.c
+++ b/src/app/main.c
@@ -47,7 +47,7 @@ bool init_graphics(gpu *g)
SDL_WINDOWPOS_UNDEFINED,
SDL_WINDOWPOS_UNDEFINED,
X_RES * WINDOW_SCALE, Y_RES * WINDOW_SCALE,
- SDL_WINDOW_OPENGL);
+ 0);
if (sdl_graphics_ptr->window == NULL)
{
@@ -58,7 +58,7 @@ bool init_graphics(gpu *g)
sdl_graphics_ptr->renderer = SDL_CreateRenderer(sdl_graphics_ptr->window,
-1,
- SDL_RENDERER_ACCELERATED);
+ 0);
if (sdl_graphics_ptr->renderer == NULL)
{