diff options
author | Sean Dague | 2008-06-18 02:35:53 +0000 |
---|---|---|
committer | Sean Dague | 2008-06-18 02:35:53 +0000 |
commit | 7a11f6f1e2fbdbe6ab64444bf60ece8e7b3ccfd5 (patch) | |
tree | b591563be7d0ec528a180023b8a0bf26908bed97 /OpenSim/Region/Environment | |
parent | change the default drawing font from Times -> Arial, as (diff) | |
download | opensim-SC-7a11f6f1e2fbdbe6ab64444bf60ece8e7b3ccfd5.zip opensim-SC-7a11f6f1e2fbdbe6ab64444bf60ece8e7b3ccfd5.tar.gz opensim-SC-7a11f6f1e2fbdbe6ab64444bf60ece8e7b3ccfd5.tar.bz2 opensim-SC-7a11f6f1e2fbdbe6ab64444bf60ece8e7b3ccfd5.tar.xz |
make neb happy. I found where we initialized the dynamic textures to
32bit images and changed them to 24bit images.
Diffstat (limited to 'OpenSim/Region/Environment')
-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 95e6c32..0e3780c 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.Format32bppArgb); | 273 | joint = new Bitmap(back.Width, back.Height, PixelFormat.Format24bppRgb); |
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 27f1182..8ad537a 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.Format32bppArgb); | 147 | Bitmap bitmap = new Bitmap(size, size, PixelFormat.Format24bppRgb); |
148 | 148 | ||
149 | Graphics graph = Graphics.FromImage(bitmap); | 149 | Graphics graph = Graphics.FromImage(bitmap); |
150 | 150 | ||