Explorar el Código

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

ocornut hace 1 año
padre
commit
c3c90b49e0
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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::DestroyContext();
 
-    SDL_GL_DeleteContext(gl_context);
+    SDL_GL_DestroyContext(gl_context);
     SDL_DestroyWindow(window);
     SDL_Quit();