aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Environment/Modules/DynamicTextureModule.cs
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--OpenSim/Region/Environment/Modules/DynamicTextureModule.cs7
1 files changed, 4 insertions, 3 deletions
diff --git a/OpenSim/Region/Environment/Modules/DynamicTextureModule.cs b/OpenSim/Region/Environment/Modules/DynamicTextureModule.cs
index ee84499..02354f1 100644
--- a/OpenSim/Region/Environment/Modules/DynamicTextureModule.cs
+++ b/OpenSim/Region/Environment/Modules/DynamicTextureModule.cs
@@ -26,14 +26,15 @@
26 */ 26 */
27 27
28using System; 28using System;
29using System.Drawing;
30using System.Collections.Generic; 29using System.Collections.Generic;
30using System.Drawing;
31using System.Drawing.Imaging;
31using libsecondlife; 32using libsecondlife;
32using Nini.Config; 33using Nini.Config;
34using OpenJPEGNet;
33using OpenSim.Framework; 35using OpenSim.Framework;
34using OpenSim.Region.Environment.Interfaces; 36using OpenSim.Region.Environment.Interfaces;
35using OpenSim.Region.Environment.Scenes; 37using OpenSim.Region.Environment.Scenes;
36using OpenJPEGNet;
37 38
38namespace OpenSim.Region.Environment.Modules 39namespace OpenSim.Region.Environment.Modules
39{ 40{
@@ -252,7 +253,7 @@ namespace OpenSim.Region.Environment.Modules
252 Bitmap joint; 253 Bitmap joint;
253 Graphics jG; 254 Graphics jG;
254 255
255 joint = new Bitmap(back.Width, back.Height, System.Drawing.Imaging.PixelFormat.Format32bppArgb); 256 joint = new Bitmap(back.Width, back.Height, PixelFormat.Format32bppArgb);
256 jG = Graphics.FromImage(joint); 257 jG = Graphics.FromImage(joint);
257 258
258 jG.DrawImage(back, 0, 0, back.Width, back.Height); 259 jG.DrawImage(back, 0, 0, back.Width, back.Height);