revert 5134. Changing these bitmaps to 24bit just breaks things, and they never display

on the client.
0.6.0-stable
Sean Dague 2008-06-18 14:04:24 +00:00
parent a728417eda
commit eda34a6d3a
2 changed files with 2 additions and 2 deletions

View File

@ -270,7 +270,7 @@ namespace OpenSim.Region.Environment.Modules.Scripting.DynamicTexture
Bitmap joint; Bitmap joint;
Graphics jG; Graphics jG;
joint = new Bitmap(back.Width, back.Height, PixelFormat.Format24bppRgb); joint = new Bitmap(back.Width, back.Height, PixelFormat.Format32bppArgb);
jG = Graphics.FromImage(joint); jG = Graphics.FromImage(joint);
jG.DrawImage(back, 0, 0, back.Width, back.Height); 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)) if ((size < 128) || (size > 1024))
size = 256; size = 256;
Bitmap bitmap = new Bitmap(size, size, PixelFormat.Format24bppRgb); Bitmap bitmap = new Bitmap(size, size, PixelFormat.Format32bppArgb);
Graphics graph = Graphics.FromImage(bitmap); Graphics graph = Graphics.FromImage(bitmap);