Good afternoon everyone, hopefully this hasn't been asked previously, couldn't search the forums.
I'm following along in development on 1920x1200 monitors and the StrechDIBits in episode 40 did some scaling when going to full screen that distorts the image pretty badly.
In the mean time I've adjusted the StretchDIBits to not scale out side 16:9 and just center the image (hardcoded for now), but is there a more proper explanation or implementation in a later episode that I can fast forward to for an interim fix? Th
| StretchDIBits(DeviceContext,
0, 60, WindowWidth, WindowHeight - 120,
0, 0, Buffer->Width, Buffer->Height,
Buffer->Memory,
&Buffer->Info,
DIB_RGB_COLORS, SRCCOPY);
|
Thanks in advance,
-Mebourne