mirror of
https://github.com/obsproject/obs-studio.git
synced 2026-04-04 14:53:40 -04:00
libobs: Rename OBS_NIX_PLATFORM_X11_GLX to OBS_NIX_PLATFORM_INVALID
Deprecated in 28.0. Renamed so that the values of non-deprecated members stay the same.
This commit is contained in:
@@ -25,10 +25,7 @@ static void *obs_nix_platform_display = NULL;
|
||||
|
||||
void obs_set_nix_platform(enum obs_nix_platform_type platform)
|
||||
{
|
||||
PRAGMA_WARN_PUSH
|
||||
PRAGMA_WARN_DEPRECATION
|
||||
assert(platform != OBS_NIX_PLATFORM_X11_GLX);
|
||||
PRAGMA_WARN_POP
|
||||
assert(platform != OBS_NIX_PLATFORM_INVALID);
|
||||
obs_nix_platform = platform;
|
||||
}
|
||||
|
||||
|
||||
@@ -24,7 +24,7 @@ extern "C" {
|
||||
#endif
|
||||
|
||||
enum obs_nix_platform_type {
|
||||
OBS_NIX_PLATFORM_X11_GLX OBS_DEPRECATED,
|
||||
OBS_NIX_PLATFORM_INVALID,
|
||||
OBS_NIX_PLATFORM_X11_EGL,
|
||||
OBS_NIX_PLATFORM_WAYLAND,
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user