From e63f9c34f801900fb257d6009245da0810e3662a Mon Sep 17 00:00:00 2001 From: Paul Chote Date: Wed, 30 Mar 2011 21:14:49 +1300 Subject: [PATCH] Log the gpu vendor into graphics.log --- OpenRA.Renderer.Gl/GraphicsDevice.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/OpenRA.Renderer.Gl/GraphicsDevice.cs b/OpenRA.Renderer.Gl/GraphicsDevice.cs index c97f173d73..128cb88f45 100755 --- a/OpenRA.Renderer.Gl/GraphicsDevice.cs +++ b/OpenRA.Renderer.Gl/GraphicsDevice.cs @@ -92,6 +92,7 @@ namespace OpenRA.Renderer.Glsl { Log.AddChannel("graphics", "graphics.log"); Log.Write("graphics", "Unsupported GPU: Missing extensions."); + Log.Write("graphics", "Vendor: {0}", Gl.glGetString(Gl.GL_VENDOR)); Log.Write("graphics", "Available extensions:"); Log.Write("graphics", extensions); throw new InvalidProgramException("Unsupported GPU. See graphics.log for details.");