mirror of
https://github.com/aharabada/glitchy-engine-beef.git
synced 2026-11-04 21:01:48 +00:00
Reprocess, load and hot swap changed assets using new asset pipeline
This commit is contained in:
@@ -222,6 +222,7 @@ class TextureImporter : IAssetImporter
|
||||
}
|
||||
}
|
||||
|
||||
[BonTarget]
|
||||
enum GenerateMipMaps
|
||||
{
|
||||
No,
|
||||
@@ -717,7 +718,10 @@ class TextureLoader : IProcessedAssetLoader
|
||||
Runtime.NotImplemented();
|
||||
}
|
||||
|
||||
result.SamplerState = SamplerStateManager.GetSampler(sampler);
|
||||
using (SamplerState samplerState = SamplerStateManager.GetSampler(sampler))
|
||||
{
|
||||
result.SamplerState = samplerState;
|
||||
}
|
||||
|
||||
return result;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user