Fixed logging in AddInSystemFactory

This commit is contained in:
SND\AstrorEnales_cp 2012-08-30 14:11:31 +00:00
parent 845d8ec716
commit 4e3ae6867b
3 changed files with 4 additions and 3 deletions

View File

@ -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.");

View File

@ -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;

View File

@ -1,4 +1,4 @@
#define USE_GL3
//#define USE_GL3
using System;
using ANX.Framework.NonXNA;