mirror of
https://github.com/opensim/opensim.git
synced 2026-08-01 14:16:07 +08:00
revert 5134. Changing these bitmaps to 24bit just breaks things, and they never display
on the client.
This commit is contained in:
@@ -270,7 +270,7 @@ namespace OpenSim.Region.Environment.Modules.Scripting.DynamicTexture
|
||||
Bitmap joint;
|
||||
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.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.Format24bppRgb);
|
||||
Bitmap bitmap = new Bitmap(size, size, PixelFormat.Format32bppArgb);
|
||||
|
||||
Graphics graph = Graphics.FromImage(bitmap);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user