I want to use UpdateLayeredWindow for a Win32 window that will be drawn with OpenGL. It seems that I have to create the context to a bitmap ( I will then pass this bitmap to UpdateLayeredWindow() ) unstead of to a window. But do I still need the double buffer flag ( at the context creation with wgl ) ? as the bitmap is a buffer.
Also what is the effect of the WS_EX_NOREDIRECTIONBITMAP ? If it just prevents the creation of the 2 nd buffer there are two cases :
OpenGL double buffer + WS_EX_NOREDIRECTIONBITMAP = 2 buffers
OpenGL single buffer + i dont use the flag = 2 buffers
In both case there are 2 buffers. What is the best ?