diff options
author | Sean Dague | 2008-06-18 14:04:24 +0000 |
---|---|---|
committer | Sean Dague | 2008-06-18 14:04:24 +0000 |
commit | eda34a6d3a6d67feedcd93adeff746961d13885e (patch) | |
tree | 77e91977e83c440eac2361d503154400c20c3832 /OpenSim | |
parent | Minor formatting cleanup. (diff) | |
download | opensim-SC_OLD-eda34a6d3a6d67feedcd93adeff746961d13885e.zip opensim-SC_OLD-eda34a6d3a6d67feedcd93adeff746961d13885e.tar.gz opensim-SC_OLD-eda34a6d3a6d67feedcd93adeff746961d13885e.tar.bz2 opensim-SC_OLD-eda34a6d3a6d67feedcd93adeff746961d13885e.tar.xz |
revert 5134. Changing these bitmaps to 24bit just breaks things, and they never display
on the client.
Diffstat (limited to 'OpenSim')
-rw-r--r-- | OpenSim/Region/Environment/Modules/Scripting/DynamicTexture/DynamicTextureModule.cs | 2 | ||||
-rw-r--r-- | OpenSim/Region/Environment/Modules/Scripting/VectorRender/VectorRenderModule.cs | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/OpenSim/Region/Environment/Modules/Scripting/DynamicTexture/DynamicTextureModule.cs b/OpenSim/Region/Environment/Modules/Scripting/DynamicTexture/DynamicTextureModule.cs index 0e3780c..95e6c32 100644 --- a/OpenSim/Region/Environment/Modules/Scripting/DynamicTexture/DynamicTextureModule.cs +++ b/OpenSim/Region/Environment/Modules/Scripting/DynamicTexture/DynamicTextureModule.cs | |||
@@ -270,7 +270,7 @@ namespace OpenSim.Region.Environment.Modules.Scripting.DynamicTexture | |||
270 | Bitmap joint; | 270 | Bitmap joint; |
271 | Graphics jG; | 271 | Graphics jG; |
272 | 272 | ||
273 | joint = new Bitmap(back.Width, back.Height, PixelFormat.Format24bppRgb); | 273 | joint = new Bitmap(back.Width, back.Height, PixelFormat.Format32bppArgb); |
274 | jG = Graphics.FromImage(joint); | 274 | jG = Graphics.FromImage(joint); |
275 | 275 | ||
276 | jG.DrawImage(back, 0, 0, back.Width, back.Height); | 276 | jG.DrawImage(back, 0, 0, back.Width, back.Height); |
diff --git a/OpenSim/Region/Environment/Modules/Scripting/VectorRender/VectorRenderModule.cs b/OpenSim/Region/Environment/Modules/Scripting/VectorRender/VectorRenderModule.cs index 8ad537a..27f1182 100644 --- a/OpenSim/Region/Environment/Modules/Scripting/VectorRender/VectorRenderModule.cs +++ b/OpenSim/Region/Environment/Modules/Scripting/VectorRender/VectorRenderModule.cs | |||
@@ -144,7 +144,7 @@ namespace OpenSim.Region.Environment.Modules.Scripting.VectorRender | |||
144 | if ((size < 128) || (size > 1024)) | 144 | if ((size < 128) || (size > 1024)) |
145 | size = 256; | 145 | size = 256; |
146 | 146 | ||
147 | Bitmap bitmap = new Bitmap(size, size, PixelFormat.Format24bppRgb); | 147 | Bitmap bitmap = new Bitmap(size, size, PixelFormat.Format32bppArgb); |
148 | 148 | ||
149 | Graphics graph = Graphics.FromImage(bitmap); | 149 | Graphics graph = Graphics.FromImage(bitmap); |
150 | 150 | ||