GPU: Print opengl infos if using --debug-gpu-force-workarounds

This commit is contained in:
Clément Foucault 2018-12-05 04:03:40 +01:00
parent 1dac00f7ad
commit 4d4f0dbd8d
1 changed files with 6 additions and 0 deletions

View File

@ -344,6 +344,12 @@ void gpu_extensions_init(void)
gpu_detect_mip_render_workaround();
if (G.debug & G_DEBUG_GPU_FORCE_WORKAROUNDS) {
printf("\n");
printf("GPU: Bypassing workaround detection.\n");
printf("GPU: OpenGL indentification strings\n");
printf("GPU: vendor: %s\n", vendor);
printf("GPU: renderer: %s\n", renderer);
printf("GPU: version: %s\n\n", version);
GG.mip_render_workaround = true;
GG.depth_blitting_workaround = true;
GG.unused_fb_slot_workaround = true;