Mirror of obs-studio-wayland which has been taken down from the AUR for whatever reason
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

35 lines
1.2 KiB

  1. From 79bd851cc2f7abec7524a55d60c75709ba61f932 Mon Sep 17 00:00:00 2001
  2. From: Georges Basile Stavracas Neto <georges.stavracas@gmail.com>
  3. Date: Mon, 9 Mar 2020 13:19:31 -0300
  4. Subject: [PATCH 02/25] libobs-opengl: Rename gl-x11.c to gl-x11-glx.c
  5. This is in preparation for the future abstraction layer (gl-x11-*)
  6. and also to match the actual name of the windowing system. When
  7. running under X11, we can glue OpenGL through GLX or EGL, so the
  8. new file name matches that now.
  9. ---
  10. libobs-opengl/CMakeLists.txt | 2 +-
  11. libobs-opengl/{gl-x11.c => gl-x11-glx.c} | 0
  12. 2 files changed, 1 insertion(+), 1 deletion(-)
  13. rename libobs-opengl/{gl-x11.c => gl-x11-glx.c} (100%)
  14. diff --git a/libobs-opengl/CMakeLists.txt b/libobs-opengl/CMakeLists.txt
  15. index c2fa4fd6..35bb5c65 100644
  16. --- a/libobs-opengl/CMakeLists.txt
  17. +++ b/libobs-opengl/CMakeLists.txt
  18. @@ -49,7 +49,7 @@ else() #This needs to change to be more specific to get ready for Wayland
  19. ${X11_XCB_LIBRARIES})
  20. set(libobs-opengl_PLATFORM_SOURCES
  21. - gl-x11.c)
  22. + gl-x11-glx.c)
  23. endif()
  24. set(libobs-opengl_SOURCES
  25. diff --git a/libobs-opengl/gl-x11.c b/libobs-opengl/gl-x11-glx.c
  26. similarity index 100%
  27. rename from libobs-opengl/gl-x11.c
  28. rename to libobs-opengl/gl-x11-glx.c
  29. --
  30. 2.28.0