Examples: SDL: Removed unused code. (#2484)

This commit is contained in:
omar
2019-04-22 10:42:39 +02:00
parent 59f012d656
commit f159eb35fb
3 changed files with 0 additions and 6 deletions

View File

@ -326,8 +326,6 @@ int main(int, char**)
}
// Setup window
SDL_DisplayMode current;
SDL_GetCurrentDisplayMode(0, &current);
SDL_WindowFlags window_flags = (SDL_WindowFlags)(SDL_WINDOW_VULKAN | SDL_WINDOW_RESIZABLE | SDL_WINDOW_ALLOW_HIGHDPI);
SDL_Window* window = SDL_CreateWindow("Dear ImGui SDL2+Vulkan example", SDL_WINDOWPOS_CENTERED, SDL_WINDOWPOS_CENTERED, 1280, 720, window_flags);