How do i create a window (win32) with background initially set black?

erf9 wrote on Wednesday, January 09, 2013:

I would like to create a window (win32) with the background set initially to black. Now it is white until glfwSwapBuffers is called, which causes an annoying flash. Please help=)

erf9 wrote on Wednesday, January 09, 2013:

Solved it by setting:
wc.hbrBackground = CreateSolidBrush( RGB(0,0,0) );
in
win32_window.c -> registerWindowClass

Would be neat if this could be set through glfwOpenWindowHint.