Browse files

reflect that renderers are input + rendering in console output

  • Loading branch information...
1 parent eed38b3 commit 5d35dc0cc06744523e2351568bb3496853c766a1 @Mailaender Mailaender committed Nov 9, 2013
View
6 OpenRA.Renderer.Cg/GraphicsDevice.cs
@@ -22,7 +22,7 @@ public class DeviceFactory : IDeviceFactory
{
public IGraphicsDevice Create(Size size, WindowMode windowMode)
{
- Console.WriteLine("Using Cg renderer");
+ Console.WriteLine("Using SDL 1.2 with Cg renderer");
return new GraphicsDevice(size, windowMode);
}
}
@@ -43,9 +43,9 @@ public class GraphicsDevice : SdlGraphics
static Tao.Cg.Cg.CGerrorCallbackFuncDelegate errorCallback = () =>
{
var err = Tao.Cg.Cg.cgGetError();
- var msg = "CG Error: {0}: {1}".F(err, Tao.Cg.Cg.cgGetErrorString(err));
+ var msg = "Cg Error: {0}: {1}".F(err, Tao.Cg.Cg.cgGetErrorString(err));
ErrorHandler.WriteGraphicsLog(msg);
- throw new InvalidOperationException("CG Error. See graphics.log for details");
+ throw new InvalidOperationException("Cg Error. See graphics.log for details");
};
public GraphicsDevice(Size size, WindowMode window)
View
2 OpenRA.Renderer.Gl/GraphicsDevice.cs
@@ -21,7 +21,7 @@ public class DeviceFactory : IDeviceFactory
{
public IGraphicsDevice Create(Size size, WindowMode windowMode)
{
- Console.WriteLine("Using Gl renderer");
+ Console.WriteLine("Using SDL 1.2 with OpenGL renderer");
return new GraphicsDevice(size, windowMode);
}
}
View
2 OpenRA.Renderer.Sdl2/Sdl2GraphicsDevice.cs
@@ -25,7 +25,7 @@ public class DeviceFactory : IDeviceFactory
{
public IGraphicsDevice Create(Size size, WindowMode windowMode)
{
- Console.WriteLine("Using SDL2 renderer");
+ Console.WriteLine("Using SDL 2 with OpenGL renderer");
return new Sdl2GraphicsDevice(size, windowMode);
}
}

0 comments on commit 5d35dc0

Please sign in to comment.