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/Modules/Scripting/DynamicTexture/DynamicTextureModule.cs | |
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/Modules/Scripting/DynamicTexture/DynamicTextureModule.cs')
-rw-r--r-- | OpenSim/Region/Environment/Modules/Scripting/DynamicTexture/DynamicTextureModule.cs | 2 |
1 files changed, 1 insertions, 1 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); |