[Date Prev][Date Next][Thread Prev][Thread Next][Thread Index]

[XaraXtreme-commits] Commit Complete



Commit by  : gavin
Repository : xara
Revision   : 898
Date       : Wed Apr 26 15:20:17 BST 2006

Changed paths:
   M /Trunk/XaraLX/wxOil/grndrgn.cpp

One line fix to correct bitmap rendering problem that causes bitmaps to be renderer darkened or lightened.


Diff:
Index: Trunk/XaraLX/wxOil/grndrgn.cpp
===================================================================
--- Trunk/XaraLX/wxOil/grndrgn.cpp	(revision 897)
+++ Trunk/XaraLX/wxOil/grndrgn.cpp	(revision 898)
@@ -3727,6 +3727,7 @@
 
 		GetDrawContext()->SetBias(3,Fill->GetProfile().GetBias()) ;
 		GetDrawContext()->SetGain(3,Fill->GetProfile().GetGain()) ;
+		GetDrawContext()->SetOutputRange(3,0x00,0xFF) ;
 
 		//---------------------------------------------------------------------------------------
 		// Smoothing decisions


Xara