Ignore:
Timestamp:
Feb 27, 2012, 12:08:06 PM (12 years ago)
Author:
chronos
Message:
  • Fixed: PixelFormat pf32bit doesn't work properly on 24bit colors.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • GraphicTest/UMainForm.pas

    r319 r338  
    8888  end;
    8989  Bitmap := TBitmap.Create;
    90   Bitmap.PixelFormat := pf32bit;
     90  Bitmap.PixelFormat := pf24bit;
    9191  Image1.Picture.Bitmap.SetSize(TFastBitmap(Scenes[0]).Size.X, TFastBitmap(Scenes[0]).Size.Y);
    92   Image1.Picture.Bitmap.PixelFormat := pf32bit;
     92  Image1.Picture.Bitmap.PixelFormat := pf24bit;
    9393  Bitmap.SetSize(TFastBitmap(Scenes[0]).Size.X, TFastBitmap(Scenes[0]).Size.Y);
    9494
Note: See TracChangeset for help on using the changeset viewer.