diff --git a/src/lindbergh/gpuvendor.c b/src/lindbergh/gpuvendor.c index a8bf24f..3101aed 100644 --- a/src/lindbergh/gpuvendor.c +++ b/src/lindbergh/gpuvendor.c @@ -39,6 +39,7 @@ int getGPUVendorID() } config->GPUVendorString = strdup((char *)glGetString(GL_VENDOR)); + if (!config->GPUVendorString) { fprintf(stderr, "Error: Could not get renderer string\n"); diff --git a/src/lindbergh/hook.c b/src/lindbergh/hook.c index b051851..a6f3002 100644 --- a/src/lindbergh/hook.c +++ b/src/lindbergh/hook.c @@ -250,8 +250,6 @@ void __attribute__((constructor)) hook_init() { getConfig()->GPUVendor = AMD_GPU; } - - printf(" ################################## \n\n"); } DIR *opendir(const char *dirname)