Searched refs:winctx (Results 1 – 3 of 3) sorted by relevance
53 SDL_GL_MakeCurrent(scon->real_window, scon->winctx); in sdl2_gl_render_surface()74 SDL_GL_MakeCurrent(scon->real_window, scon->winctx); in sdl2_gl_update()87 SDL_GL_MakeCurrent(scon->real_window, scon->winctx); in sdl2_gl_switch()147 SDL_GL_MakeCurrent(scon->real_window, scon->winctx); in sdl2_gl_create_context()220 SDL_GL_MakeCurrent(scon->real_window, scon->winctx); in sdl2_gl_scanout_texture()241 SDL_GL_MakeCurrent(scon->real_window, scon->winctx); in sdl2_gl_scanout_flush()
117 scon->winctx = SDL_GL_CreateContext(scon->real_window); in sdl2_window_create()131 if (scon->winctx) { in sdl2_window_destroy()132 SDL_GL_DeleteContext(scon->winctx); in sdl2_window_destroy()133 scon->winctx = NULL; in sdl2_window_destroy()
45 SDL_GLContext winctx; member