mirror of
https://github.com/Ryujinx/SDL.git
synced 2024-12-23 06:55:38 +00:00
video: sync Metal_CreateView with GL_CreateContext and Vulkan_CreateSurface
no need to check if _this->Metal_CreateView, since it is already checked in Re(create)Window
This commit is contained in:
parent
b71d927429
commit
d09edcbcac
|
@ -4867,12 +4867,7 @@ SDL_Metal_CreateView(SDL_Window * window)
|
|||
return NULL;
|
||||
}
|
||||
|
||||
if (_this->Metal_CreateView) {
|
||||
return _this->Metal_CreateView(_this, window);
|
||||
} else {
|
||||
SDL_SetError("Metal is not supported.");
|
||||
return NULL;
|
||||
}
|
||||
return _this->Metal_CreateView(_this, window);
|
||||
}
|
||||
|
||||
void
|
||||
|
|
Loading…
Reference in a new issue