Skip to content
Permalink
Browse files

Make SDL window user resizable.

  • Loading branch information
profan authored and xen2 committed May 7, 2019
1 parent bbb42da commit 582915a5b5ade7fcb4ac8b57d0de6f51fd7c978f
Showing with 1 addition and 2 deletions.
  1. +1 −2 sources/engine/Xenko.Graphics/SDL/Window.cs
@@ -370,7 +370,6 @@ public string Text
/// <summary>
/// Style of border. Currently can only be Sizable or FixedSingle.
/// </summary>
/// <remarks>On SDL, one cannot change the style after the window has been created.</remarks>
public FormBorderStyle FormBorderStyle
{
get
@@ -387,7 +386,7 @@ public FormBorderStyle FormBorderStyle
}
set
{
// FIXME: How to implement this since this is being called.
SDL.SDL_SetWindowResizable(SdlHandle, value == FormBorderStyle.Sizable ? SDL.SDL_bool.SDL_TRUE : SDL.SDL_bool.SDL_FALSE);
}
}

0 comments on commit 582915a

Please sign in to comment.
You can’t perform that action at this time.