[v0.11] Working in printer backend to show logo and text for intel iGPU

This commit is contained in:
Dr-Noob
2021-11-26 09:58:45 +01:00
parent 310486a6a2
commit ce004725ad
5 changed files with 135 additions and 54 deletions

View File

@@ -15,7 +15,6 @@ struct gpu_list {
struct gpu_list* get_gpu_list() {
int idx = 0;
bool valid = true;
struct gpu_list* list = (struct gpu_list*) malloc(sizeof(struct gpu_list));
list->num_gpus = 0;
list->gpus = (struct gpu_info**) malloc(sizeof(struct info*) * MAX_GPUS);