We try to draw directly to an existing bitmapDC
For this we use a special pixelFormat with DRAW_TO_BITMAP property.
We draw a polygon on the bitmap
all is right until we use lighting in the opengl parameters.
With light the polygon is draw shadowed black
Can someone explain why this method doesn’t work? What is missing to work correctly?