소스 검색

* Alpha channel at Opaque for normal colors

luk 22 년 전
부모
커밋
ecf5190d17
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      fcl/image/fpreadxpm.pp

+ 1 - 0
fcl/image/fpreadxpm.pp

@@ -70,6 +70,7 @@ begin
   result.red   := (Convert(copy(s,1,l)));
   result.green := (Convert(copy(s,l+1,l)));
   result.blue  :=  Convert(copy(s,l+l+1,l));
+  result.alpha := AlphaOpaque;
 end;
 
 function TFPReaderXPM.NameToColor(s : string) : TFPColor;