Ignore:
Timestamp:
Mar 25, 2000, 1:19:08 PM (25 years ago)
Author:
sandervl
Message:

dibsection blit + setdibits fixes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/gdi32/dibitmap.cpp

    r3227 r3235  
    1 /* $Id: dibitmap.cpp,v 1.6 2000-03-24 19:24:47 sandervl Exp $ */
     1/* $Id: dibitmap.cpp,v 1.7 2000-03-25 12:19:07 sandervl Exp $ */
    22
    33/*
     
    5050HBITMAP WIN32API CreateCompatibleBitmap( HDC hdc, int nWidth, int nHeight)
    5151{
    52     dprintf(("GDI32: CreateCompatibleBitmap %x (%d,%d)", hdc, nWidth, nHeight));
    53     return O32_CreateCompatibleBitmap(hdc, nWidth, nHeight);
     52 HBITMAP hBitmap;
     53
     54    hBitmap = O32_CreateCompatibleBitmap(hdc, nWidth, nHeight);
     55    dprintf(("GDI32: CreateCompatibleBitmap %x (%d,%d) returned %x", hdc, nWidth, nHeight, hBitmap));
     56    return hBitmap;
    5457}
    5558//******************************************************************************
     
    6669                                 UINT cBitsPerPel, const void *lpvBits)
    6770{
    68  HBITMAP rc;
    69 
    70     rc = O32_CreateBitmap(nWidth, nHeight, cPlanes, cBitsPerPel, lpvBits);
    71     dprintf(("GDI32: CreateBitmap (%d,%d) bps %d returned %x", nWidth, nHeight, cBitsPerPel, rc));
    72     return(rc);
     71 HBITMAP hBitmap;
     72
     73    hBitmap = O32_CreateBitmap(nWidth, nHeight, cPlanes, cBitsPerPel, lpvBits);
     74    dprintf(("GDI32: CreateBitmap (%d,%d) bps %d returned %x", nWidth, nHeight, cBitsPerPel, hBitmap));
     75    return(hBitmap);
    7376}
    7477//******************************************************************************
Note: See TracChangeset for help on using the changeset viewer.