Re: LoadImage: respect the desired size when loading a bitmap
10 Jun
2005
10 Jun
'05
1:24 p.m.
Huw D M Davies <h.davies1(a)physics.ox.ac.uk> writes:
+ orig_bm = SelectObject(screen_mem_dc, hbitmap); + StretchDIBits(screen_mem_dc, 0, 0, new_width, new_height, 0, 0, width, height, bits, fix_info, DIB_RGB_COLORS, SRCCOPY); + SelectObject(screen_mem_dc, orig_bm);
That's not thread safe, you either need a critical section around the global screen_mem_dc, or probably better simply create a mem DC local to the function. -- Alexandre Julliard julliard(a)winehq.org
7580
Age (days ago)
7580
Last active (days ago)
0 comments
1 participants
participants (1)
-
Alexandre Julliard