mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-01-24 02:03:06 -05:00
22 lines
929 B
Diff
22 lines
929 B
Diff
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)
|
|
{
|