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:
parent
84d462c31c
commit
75cde08e8d
2 changed files with 2 additions and 5 deletions
|
|
@ -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,
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue