@ Made CreateTexture and ReleaseTexture public: Plugins must be allowed to load images as textures in video memory.

This commit is contained in:
codeimp 2009-08-02 21:34:16 +00:00
parent 403c57a746
commit 068ea01e84

View file

@ -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)
{