make GUI resizable

This commit is contained in:
Josh Holtrop 2014-06-24 21:40:56 -04:00
parent da2bf02922
commit 7623a85e4e

View File

@ -22,7 +22,7 @@ namespace jes
SDL_WINDOWPOS_UNDEFINED, SDL_WINDOWPOS_UNDEFINED,
WIDTH, WIDTH,
HEIGHT, HEIGHT,
SDL_WINDOW_OPENGL); SDL_WINDOW_OPENGL | SDL_WINDOW_RESIZABLE);
if (!m_window) if (!m_window)
{ {
std::cerr << "Failed to create window!" << std::endl; std::cerr << "Failed to create window!" << std::endl;