Ver Fonte

Examples: SDL3+OpenGL: Update for API changes: SDL_GL_DeleteContext() renamed to SDL_GL_DestroyContext().

ocornut há 1 ano atrás
pai
commit
c3c90b49e0
1 ficheiros alterados com 1 adições e 1 exclusões
  1. 1 1
      examples/example_sdl3_opengl3/main.cpp

+ 1 - 1
examples/example_sdl3_opengl3/main.cpp

@@ -196,7 +196,7 @@ int main(int, char**)
     ImGui_ImplSDL3_Shutdown();
     ImGui_ImplSDL3_Shutdown();
     ImGui::DestroyContext();
     ImGui::DestroyContext();
 
 
-    SDL_GL_DeleteContext(gl_context);
+    SDL_GL_DestroyContext(gl_context);
     SDL_DestroyWindow(window);
     SDL_DestroyWindow(window);
     SDL_Quit();
     SDL_Quit();