From 068ea01e849686cba00c246affc6ba3b2becd15e Mon Sep 17 00:00:00 2001 From: codeimp Date: Sun, 2 Aug 2009 21:34:16 +0000 Subject: [PATCH] @ Made CreateTexture and ReleaseTexture public: Plugins must be allowed to load images as textures in video memory. --- Source/Core/Data/ImageData.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Source/Core/Data/ImageData.cs b/Source/Core/Data/ImageData.cs index 4743dd6e..84cc8d62 100644 --- a/Source/Core/Data/ImageData.cs +++ b/Source/Core/Data/ImageData.cs @@ -323,7 +323,7 @@ namespace CodeImp.DoomBuilder.Data } // This creates the Direct3D texture - internal virtual void CreateTexture() + public virtual void CreateTexture() { MemoryStream memstream; @@ -348,7 +348,7 @@ namespace CodeImp.DoomBuilder.Data } // This destroys the Direct3D texture - internal void ReleaseTexture() + public void ReleaseTexture() { lock(this) {