video: Revert unnecessary member assignment
This commit is contained in:
@@ -855,7 +855,6 @@ SDL_DisplayID SDL_AddVideoDisplay(const SDL_VideoDisplay *display, bool send_eve
|
|||||||
SDL_copyp(new_display, display);
|
SDL_copyp(new_display, display);
|
||||||
new_display->id = id;
|
new_display->id = id;
|
||||||
new_display->device = _this;
|
new_display->device = _this;
|
||||||
new_display->props = display->props;
|
|
||||||
if (display->name) {
|
if (display->name) {
|
||||||
new_display->name = SDL_strdup(display->name);
|
new_display->name = SDL_strdup(display->name);
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
Reference in New Issue
Block a user