[Igarden-commit] Garden/source/SourceMaterialDB MaterialPalette.cpp, 1.8.2.2, 1.8.2.3
Status: Beta
Brought to you by:
jlbedell
|
From: Jeffrey B. <jlb...@us...> - 2008-05-04 22:30:46
|
Update of /cvsroot/igarden/Garden/source/SourceMaterialDB In directory sc8-pr-cvs2.sourceforge.net:/tmp/cvs-serv20284/source/SourceMaterialDB Modified Files: Tag: Release_branch_v1 MaterialPalette.cpp Log Message: Fix display problems on MacIntel Index: MaterialPalette.cpp =================================================================== RCS file: /cvsroot/igarden/Garden/source/SourceMaterialDB/MaterialPalette.cpp,v retrieving revision 1.8.2.2 retrieving revision 1.8.2.3 diff -C2 -d -r1.8.2.2 -r1.8.2.3 *** MaterialPalette.cpp 19 Mar 2008 01:07:44 -0000 1.8.2.2 --- MaterialPalette.cpp 4 May 2008 22:30:42 -0000 1.8.2.3 *************** *** 911,915 **** --- 911,919 ---- { Rect r = _image->GetContentRect(); + #if OPT_NATIVEORDER CGWorld *gw = new CGWorld(r); + #else + CGWorld *gw = new CGWorld(r,k32BGRAPixelFormat); + #endif thread->GetCanvas()->SetMaterial(material, ptr, _doc); |