Closed Ruffian4D closed 6 years ago
Which flag I have to set at Texture.FromFile or SetTexture, so that the texture is not drawn repeatedly? Only once?
Texture.FromFile(mem, **TextureFlags.None**, 0);
or here?
[DllImport(DllName, CallingConvention = CallingConvention.Cdecl)] public static extern void bgfx_set_texture (byte stage, ushort sampler, ushort texture, **uint flags**);
The black border is usually the end of the texture.
Greetings Ruffian
Solved, my bad. Wasn't a bgfx problem.
Which flag I have to set at Texture.FromFile or SetTexture, so that the texture is not drawn repeatedly? Only once?
Texture.FromFile(mem, **TextureFlags.None**, 0);
or here?
The black border is usually the end of the texture.
Greetings Ruffian