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/VectorRender | |
parent | change the default drawing font from Times -> Arial, as (diff) | |
download | opensim-SC_OLD-7a11f6f1e2fbdbe6ab64444bf60ece8e7b3ccfd5.zip opensim-SC_OLD-7a11f6f1e2fbdbe6ab64444bf60ece8e7b3ccfd5.tar.gz opensim-SC_OLD-7a11f6f1e2fbdbe6ab64444bf60ece8e7b3ccfd5.tar.bz2 opensim-SC_OLD-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/VectorRender')
-rw-r--r-- | OpenSim/Region/Environment/Modules/Scripting/VectorRender/VectorRenderModule.cs | 2 |
1 files changed, 1 insertions, 1 deletions
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 | ||