Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Windows で Sizable ウィンドウの高さが 0 になるとエラー #1263

Open
Reputeless opened this issue Sep 20, 2024 · 1 comment
Open

Comments

@Reputeless
Copy link
Member

@Reputeless
Copy link
Member Author

v0.6.15 時点での回避方法

# include <Siv3D.hpp> // Siv3D v0.6.15

void Main()
{
    Scene::SetBackground(ColorF{ 0.6, 0.8, 0.7 });

    // 実ウィンドウサイズ(フレームバッファサイズ)が 40x40 よりも小さくならないようにする
    Window::SetMinimumFrameBufferSize(Size{ 40, 40 });

    Window::SetStyle(WindowStyle::Sizable);

    while (System::Update())
    {

    }
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant