Build 0.21.6.0 (1.0 pre-patch)
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
using Microsoft.Xna.Framework.Graphics;
|
||||
namespace Barotrauma;
|
||||
|
||||
static class EffectLoader
|
||||
{
|
||||
public static Effect Load(string path)
|
||||
=> GameMain.Instance.Content.Load<Effect>(path
|
||||
#if LINUX || OSX
|
||||
+"_opengl"
|
||||
#endif
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user