| Summary: | Fullscreen window not working | ||
|---|---|---|---|
| Product: | SDL | Reporter: | ImAnonym <sdlbugz> |
| Component: | video | Assignee: | Sam Lantinga <slouken> |
| Status: | ASSIGNED --- | QA Contact: | Sam Lantinga <slouken> |
| Severity: | normal | ||
| Priority: | P2 | Keywords: | target-2.0.16 |
| Version: | 2.0.12 | ||
| Hardware: | x86 | ||
| OS: | Windows 10 | ||
I'll take a look, thanks! |
I have recently updated SDL to the version 2.0.12, but then fullscreen windows aren't working anymore. This simple example fails: #include <SDL2/SDL.h> int main(int main, char* argv[]) { int quit = 0; SDL_Event event; SDL_Window* window; SDL_Init(SDL_INIT_EVERYTHING); window = SDL_CreateWindow("fullscreen",0,0,640,480,SDL_WINDOW_SHOWN | SDL_WINDOW_FULLSCREEN); while(!quit) { while(SDL_PollEvent(&event)) { if(event.type == SDL_QUIT){ quit = 1; } } SDL_UpdateWindowSurface(window); } return 0; } To be sure that it's a version problem i've tested the same code with an older version and it worked, all tests were done in Windows. Can someone tell me if i'm doing something wrong? Or is it really a bug?