Questions tagged [winapi]
The winapi tag has no summary.
30 questions
0 votes
0 answers
190 views
How to compile .obj files into final executable?
I have created a .obj model in Blender. I am writing a screensaver, so, I can have only one file(.scr)?
1 vote
1 answer
463 views
SetFullscreenState not returning
When I call the IDXGISwapChain::SetFullscreenState method, it does not return. The window goes fullscreen, but accepts no further input. A ...
0 votes
0 answers
267 views
How can I handle mouse input and cursor in a WinAPI window?
Hello I'm studying game engine programming, but I got stuck with mouse input. As for now I have only WinAPI window, which has a message pump and processing. For the mouse I used RAWINPUT, but there ...
1 vote
1 answer
2k views
WinAPi OpenGL Borderless Fullscreen - Alt Tab problems
I'm implementing a borderless fullscreen functionality and managed to make something that almost works. Using: C++, Winapi, OpenGL 3.3. When in fullscreen borderless mode, if alt tab the game window ...
4 votes
1 answer
2k views
How OpenGL works with Windows GDI in order to produce output image on computer screen?
I am curious how GDI integrates with OpengGL in order to create image for computer screen. I know that GDI provide Device Context which describes window properties and as far as I know it also offer ...
3 votes
1 answer
4k views
PlaySound() Lags opengl c++
I am new to OpenGL. I am making a game similar to this, shown in image below. The problem is when I detect collision, i.e cannon ball and ship collide, I play a sound using ...
4 votes
1 answer
604 views
Float-based screen coordinates, higher mouse precision
I wrote 2 weeks ago about problem with motion blur in my engine. When camera moves using keyboard, motion blur is smooth. But when I rotate camera using mouse motion blur is stepping (not sure if I ...
-3 votes
1 answer
1k views
Is Microsoft killing OpenGL? [closed]
In an article I've read that Microsoft signed GDI/GDI+ as deprecated. I was a bit frightened, I won't be able to use OpenGL in future versions of Windows. Since you need GDI ( more likely the Device ...