# Win32 Fullscreen Problems

**URL:** <https://discourse.glfw.org/t/win32-fullscreen-problems/332>\
**Category:** support\
**Created:** [March 4, 2005, 6:48pm UTC](https://discourse.glfw.org/t/win32-fullscreen-problems/332 "2005-03-04T18:48:36Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex035/uploads/glfw/original/1X/b8cdefe6b61b8d5aee6c43b2c56e9cf5eabecfe4.svg) [@system](https://discourse.glfw.org/u/system)\
**Post date:** [March 4, 2005, 6:48pm UTC](https://discourse.glfw.org/t/win32-fullscreen-problems/332/1 "2005-03-04T18:48:36Z")

</div>

**[michael\_woe](https://sourceforge.net/u/michael_woe/)** wrote on [Friday, March 04, 2005](https://sourceforge.net/p/glfw/discussion/247562/thread/7bf0b973/#d803):

I have written a small test application in Dev-Cpp using GLFW. Everything worked great until I tried to switch to fullscreen mode. Then nothing is displayed at all, just a black screen (or whatever you set width glClearColor()). I cannot find any errors and it really works perfectly in windowed mode (the only modification I make is changing the parameter in glfwOpenWindow() from GLFW\_FULLSCREEN to GLFW\_WINDOW) and the particles and pong3d example work correctly too. Is this something I don’t know about OpenGL? Any hints, what the error could be?  
Thanks in advance

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex035/uploads/glfw/original/1X/b8cdefe6b61b8d5aee6c43b2c56e9cf5eabecfe4.svg) [@system](https://discourse.glfw.org/u/system)\
**Post date:** [March 5, 2005, 7:29pm UTC](https://discourse.glfw.org/t/win32-fullscreen-problems/332/2 "2005-03-05T19:29:02Z")

</div>

**[marcus256](https://sourceforge.net/u/marcus256/)** wrote on [Saturday, March 05, 2005](https://sourceforge.net/p/glfw/discussion/247562/thread/7bf0b973/#d803/6060):

Try glViewport()… I believe this will change with GLFW 2.5. In fullscreen mode GLFW 2.4.2 opens a 0x0 window that is resized to whatever resolution the display is at, which means that the initial OpenGL rendering viewport is 0x0 pixles - at least I think that is what is happening.

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex035/uploads/glfw/original/1X/b8cdefe6b61b8d5aee6c43b2c56e9cf5eabecfe4.svg) [@system](https://discourse.glfw.org/u/system)\
**Post date:** [March 5, 2005, 8:37pm UTC](https://discourse.glfw.org/t/win32-fullscreen-problems/332/3 "2005-03-05T20:37:55Z")

</div>

**[michael\_woe](https://sourceforge.net/u/michael_woe/)** wrote on [Saturday, March 05, 2005](https://sourceforge.net/p/glfw/discussion/247562/thread/7bf0b973/#d803/a447):

Oh thank you very much. Now it works. That’s great.
