Mercurial > hg > forks > gldragon
comparison gldragon.cpp @ 82:91a2868260bf
Disable window resizability for now, as we don't actually support it.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Mon, 09 Mar 2020 09:21:55 +0200 |
parents | 5372b7795426 |
children | 036e9d737ba9 |
comparison
equal
deleted
inserted
replaced
81:5372b7795426 | 82:91a2868260bf |
---|---|
40 } | 40 } |
41 | 41 |
42 // Part 1 of initialization | 42 // Part 1 of initialization |
43 if (!renderer.initRenderer1(title, width, height, | 43 if (!renderer.initRenderer1(title, width, height, |
44 SDL_WINDOWPOS_CENTERED, SDL_WINDOWPOS_CENTERED, | 44 SDL_WINDOWPOS_CENTERED, SDL_WINDOWPOS_CENTERED, |
45 SDL_WINDOW_SHOWN | SDL_WINDOW_RESIZABLE)) | 45 SDL_WINDOW_SHOWN// | SDL_WINDOW_RESIZABLE |
46 )) | |
46 return false; | 47 return false; |
47 | 48 |
48 // Check if we want to attempt to use vsync | 49 // Check if we want to attempt to use vsync |
49 switch (vsyncMode) | 50 switch (vsyncMode) |
50 { | 51 { |