Uploaded image for project: 'Core ReactOS'
  1. Core ReactOS
  2. CORE-3997

Fix NtGdiSetDIBitsToDeviceInternal dest palette + Fix set palette 1 bit to dest

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • None
    • Win32SS
    • None
    • Operating System: ReactOS
      Platform: x86 Hardware

    Description

      Created an attachment (id=3776)
      Patch file

      Patch file fixed 4 line error in "gdi32_winetest.exe bitmap"
      Test failed: out_bits aa
      Test failed: out_bits aa
      Test failed: out_bits aa
      Test failed: out_bits aa

      In NtGdiSetDIBitsToDeviceInternal fixed using DIBPalette DestSurf
      In DIB_1BPP_BitBltSrcCopy always using XLATEOBJ_iXlate
      for example 1 bit palette dest b sourc
      dest color
      pbmi->bmiColors[0].rgbRed = 0x0;
      pbmi->bmiColors[0].rgbGreen = 0x0;
      pbmi->bmiColors[0].rgbBlue = 0x0;
      pbmi->bmiColors[1].rgbRed = 0xff;
      pbmi->bmiColors[1].rgbGreen = 0xff;
      pbmi->bmiColors[1].rgbBlue = 0xff;
      sour
      pbmi->bmiColors[0].rgbRed = 0x0;
      pbmi->bmiColors[0].rgbGreen = 0x0;
      pbmi->bmiColors[0].rgbBlue = 0x0;
      pbmi->bmiColors[1].rgbRed = 0xff;
      pbmi->bmiColors[1].rgbGreen = 0xff;
      pbmi->bmiColors[1].rgbBlue = 0xff;
      color source 1 as dest 0

      Attachments

        Activity

          People

            ThePhysicist Timo Kreuzer
            bolt bolt
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: