Skip to main content
6 votes

PlaySound() Lags opengl c++

Looking at the documentation of PlaySound() on MSDN it states: The SND_ASYNC flag causes PlaySound to return immediately without waiting for the sound to finish playing. The conclusion from this ...
Striezel's user avatar
  • 178
3 votes

How OpenGL works with Windows GDI in order to produce output image on computer screen?

The video adapter sends to the monitor a video buffer stored somewhere in video memory. This is something the adapter does, and it is responsibility of the device driver. I am talking about a single ...
Theraot's user avatar
  • 27.2k
1 vote

SetFullscreenState not returning

I figured out the issue. Before returning, SetFullscreenState sends a WM_MOVE then a WM_SIZE ...
cwhakes's user avatar
  • 31
1 vote

FPS-like mouse-look camera WinAPI problem

You can use GetCursorPos, and use the result from that to calculate how far the mouse has moved from the center, then SetCursorPos to put it back. With this scheme you don't even need to handle ...
Maximus Minimus's user avatar
1 vote

creating a process to run in c++ // i need to run a process in c++

A single \ represents character escape sequence so you should replace ...
Asesh's user avatar
  • 115
1 vote

Console (CMD like) in a DirectX application

I want to provide an alternative way to achieve both a console and a Window to draw your graphics to. Configure your project to be a default console project and create the window manually through the ...
LukeG's user avatar
  • 1,547

Only top scored, non community-wiki answers of a minimum length are eligible