make neb happy. I found where we initialized the dynamic textures to

32bit images and changed them to 24bit images.
0.6.0-stable
Sean Dague 2008-06-18 02:35:53 +00:00
parent 6d30d71256
commit 7a11f6f1e2
2 changed files with 2 additions and 2 deletions

View File

@ -270,7 +270,7 @@ namespace OpenSim.Region.Environment.Modules.Scripting.DynamicTexture
Bitmap joint;
Graphics jG;
joint = new Bitmap(back.Width, back.Height, PixelFormat.Format32bppArgb);
joint = new Bitmap(back.Width, back.Height, PixelFormat.Format24bppRgb);
jG = Graphics.FromImage(joint);
jG.DrawImage(back, 0, 0, back.Width, back.Height);

View File

@ -144,7 +144,7 @@ namespace OpenSim.Region.Environment.Modules.Scripting.VectorRender
if ((size < 128) || (size > 1024))
size = 256;
Bitmap bitmap = new Bitmap(size, size, PixelFormat.Format32bppArgb);
Bitmap bitmap = new Bitmap(size, size, PixelFormat.Format24bppRgb);
Graphics graph = Graphics.FromImage(bitmap);