mirror of
https://git.do.srb2.org/STJr/UltimateZoneBuilder.git
synced 2024-11-23 20:32:34 +00:00
@ Made CreateTexture and ReleaseTexture public: Plugins must be allowed to load images as textures in video memory.
This commit is contained in:
parent
403c57a746
commit
068ea01e84
1 changed files with 2 additions and 2 deletions
|
@ -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)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue