About SDL_SetWindowMinimumSize and SDL_SetWindowMaximumSize BUG

If min = = max, this should not conflict
I need a fixed height and a variable width

if (max_w <= window->min_w || max_h <= window->min_h) {
	SDL_SetError("SDL_SetWindowMaximumSize(): Tried to set maximum size smaller than minimum size");
	return;
}

ps: This is from machine translation

1 Like

This problem has been fixed in the new version, thanks to all developers