Provide more information on unknown GPU

This commit is contained in:
Sergey Sharybin
2019-01-04 12:50:05 +01:00
parent 785fc137ce
commit 7a10960947

View 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;
}