[v0.04] Add option to select GPU

This commit is contained in:
Dr-Noob
2021-08-16 13:38:54 +02:00
parent eecc040e98
commit c7a08e7fd0
6 changed files with 98 additions and 17 deletions

View File

@@ -19,6 +19,7 @@ enum {
};
enum {
ARG_GPU,
ARG_HELP,
ARG_VERSION
};
@@ -33,6 +34,7 @@ bool parse_args(int argc, char* argv[]);
bool show_help();
bool show_version();
void free_colors_struct(struct color** cs);
int get_gpu_idx();
struct color** get_colors();
STYLE get_style();