mirror of
https://github.com/reactos/reactos.git
synced 2024-07-08 21:55:08 +00:00
ebc9df1a25
NtGdiSelectBitmap. Don't exclusively lock the old bitmap. This could cause pool corruptions, when the share count reachted 0, the object was deleted and unlocked after that. Use InterlockedCompareExchange to check and exchange the new bitmaps dc. This is commented out, because it causes a lot of drawing problems. Do the referencing manually instead of calling DC_vSelectSurface. Use a shared reference instead of an exclusive lock for the new bitmap. add code for proper handling of DEFAULT_BITMAP, currently hacked due to restrictions in other parts of win32k. Fixes bug 5498 and probably a lot of other problems. svn path=/trunk/; revision=50827 |
||
---|---|---|
reactos | ||
rosapps | ||
rostests | ||
wallpaper |