from SDL/src/video/windows/SDL_windowsframebuffer.c
GetDIBits(data->hdc, hbm, 0, 0, NULL, info, DIB_RGB_COLORS);
GetDIBits(data->hdc, hbm, 0, 0, NULL, info, DIB_RGB_COLORS);
duplicate code?
from SDL/src/video/windows/SDL_windowsframebuffer.c
GetDIBits(data->hdc, hbm, 0, 0, NULL, info, DIB_RGB_COLORS);
GetDIBits(data->hdc, hbm, 0, 0, NULL, info, DIB_RGB_COLORS);
duplicate code?
The first call fills in the hbm header and the second call fills in the bits.