http://bugs.winehq.org/show_bug.cgi?id=12194
--- Comment #13 from Alexander Dorofeyev alexd4@inbox.lv 2008-05-14 02:17:30 --- (In reply to comment #12)
Better check if the surface is the primary render target as that is done in most code (render_targets[0] check).
surface_gdi in particular seems to be very ddraw-centric. It uses things like "ddraw_window" and "ddraw_primary" all over the place. So in the scope of surface_gdi.c ddraw_primary is more consistent with the overall code. I wonder though if ddraw_primary is always same as render_targets[0]. If it is, and is basically some legacy leftover stuff, maybe it would make sense to get rid of it. It's confusing to have multiple things for same purpose.