make neb happy. I found where we initialized the dynamic textures to
32bit images and changed them to 24bit images.0.6.0-stable
parent
6d30d71256
commit
7a11f6f1e2
|
@ -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);
|
||||
|
|
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in New Issue