summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
5e5f4c1)
Revert r56462. Should fix some win32k crashes. See CORE-7965
svn path=/trunk/; revision=63339
IN OPTIONAL LPBYTE pUnsafeBits)
{
HBITMAP hbmp;
IN OPTIONAL LPBYTE pUnsafeBits)
{
HBITMAP hbmp;
- ULONG cRealBpp, cjWidthBytes, iFormat, fjBitmap;
+ ULONG cRealBpp, cjWidthBytes, iFormat;
ULONGLONG cjSize;
PSURFACE psurf;
ULONGLONG cjSize;
PSURFACE psurf;
- /* Allocations larger than PAGE_SIZE go into user mem */
- fjBitmap = (cjSize > PAGE_SIZE) ? BMF_USERMEM : 0;
-
/* Allocate the surface (but don't set the bits) */
psurf = SURFACE_AllocSurface(STYPE_BITMAP,
nWidth,
nHeight,
iFormat,
/* Allocate the surface (but don't set the bits) */
psurf = SURFACE_AllocSurface(STYPE_BITMAP,
nWidth,
nHeight,
iFormat,