Provide more information on unknown GPU
authorSergey Sharybin <sergey.vfx@gmail.com>
Fri, 4 Jan 2019 11:50:05 +0000 (12:50 +0100)
committerSergey Sharybin <sergey.vfx@gmail.com>
Fri, 4 Jan 2019 11:50:05 +0000 (12:50 +0100)
source/blender/gpu/intern/gpu_extensions.c

index 10bd581..6bdc9c0 100644 (file)
@@ -345,6 +345,9 @@ void gpu_extensions_init(void)
        }
        else {
                printf("Warning: Could not find a matching GPU name. Things may not behave as expected.\n");
+               printf("Detected OpenGL configuration:\n");
+               printf("Vendor: %s\n", vendor);
+               printf("Renderer: %s\n", renderer);
                GG.device = GPU_DEVICE_ANY;
                GG.driver = GPU_DRIVER_ANY;
        }