ui: Print OS version to log

This commit is contained in:
Mason Thompson 2021-12-28 17:25:09 -05:00 committed by GitHub
parent aa7acc8f64
commit b8141bbfdc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 0 deletions

View File

@ -48,6 +48,7 @@
#include "xemu-settings.h"
#include "xemu-shaders.h"
#include "xemu-version.h"
#include "xemu-os-utils.h"
#include "data/xemu_64x64.png.h"
@ -885,6 +886,7 @@ static void sdl2_display_very_early_init(DisplayOptions *o)
// by the SDL surface.
}
fprintf(stderr, "OS_Version: %s\n", xemu_get_os_info());
fprintf(stderr, "GL_VENDOR: %s\n", glGetString(GL_VENDOR));
fprintf(stderr, "GL_RENDERER: %s\n", glGetString(GL_RENDERER));
fprintf(stderr, "GL_VERSION: %s\n", glGetString(GL_VERSION));