Fixed logging in AddInSystemFactory
This commit is contained in:
parent
845d8ec716
commit
4e3ae6867b
@ -90,7 +90,7 @@ namespace ANX.Framework.NonXNA
|
||||
if (addin.IsValid && addin.IsSupported)
|
||||
{
|
||||
addinSystems[addin.Type].Add(addin);
|
||||
Logger.Info("[ANX] successfully loaded addin " + addin.Name + ".");
|
||||
Logger.Info("[ANX] successfully loaded AddIn (" + addin.Type + ") " + creatorType.FullName + ".");
|
||||
}
|
||||
else
|
||||
Logger.Info("[ANX] skipped loading file because it is not supported or not a valid AddIn.");
|
||||
|
@ -60,7 +60,8 @@ namespace ANX.RenderSystem.Windows.DX11
|
||||
SetData<T>(graphicsDevice, data, 0, data.Length);
|
||||
}
|
||||
|
||||
public void SetData<T>(GraphicsDevice graphicsDevice, int offsetInBytes, T[] data, int startIndex, int elementCount) where T : struct
|
||||
public void SetData<T>(GraphicsDevice graphicsDevice, int offsetInBytes, T[] data, int startIndex, int elementCount)
|
||||
where T : struct
|
||||
{
|
||||
GraphicsDeviceWindowsDX11 dx11GraphicsDevice = graphicsDevice.NativeDevice as GraphicsDeviceWindowsDX11;
|
||||
DeviceContext context = dx11GraphicsDevice.NativeDevice;
|
||||
|
@ -1,4 +1,4 @@
|
||||
#define USE_GL3
|
||||
//#define USE_GL3
|
||||
|
||||
using System;
|
||||
using ANX.Framework.NonXNA;
|
||||
|
Loading…
x
Reference in New Issue
Block a user