Hard to tell from that alone (compare to tests in the example project?), but if I were to guess, something like this would happen if you were to call winwin_draw_end multiple times per frame as the call asks Windows to flush the new pixels into the window.