Skip to content

Commit

Permalink
mock gl backend context should not be managed by sdl
Browse files Browse the repository at this point in the history
  • Loading branch information
misl6 committed Apr 21, 2024
1 parent 8bdfa9a commit 7cbf7a9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion kivy/core/window/_window_sdl2.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ cdef class _WindowSDL2Storage:

def setup_window(self, x, y, width, height, borderless, fullscreen, resizable, state, gl_backend):
self.gl_backend_name = gl_backend
self.sdl_manages_egl_context = gl_backend != "angle"
self.sdl_manages_egl_context = gl_backend not in ("mock", "angle")

self.win_flags = SDL_WINDOW_SHOWN | SDL_WINDOW_ALLOW_HIGHDPI

Expand Down

0 comments on commit 7cbf7a9

Please sign in to comment.