Set the default number of devices to 0 (this is updated at acInit()

This commit is contained in:
jpekkila
2019-06-26 19:42:49 +03:00
parent 65c8a39cb9
commit ee075e6741

View File

@@ -36,7 +36,7 @@ const char* realparam_names[] = {AC_FOR_REAL_PARAM_TYPES(AC_GEN_STR)};
const char* vtxbuf_names[] = {AC_FOR_VTXBUF_HANDLES(AC_GEN_STR)};
static const int MAX_NUM_DEVICES = 32;
static int num_devices = 1;
static int num_devices = 0;
static Device devices[MAX_NUM_DEVICES] = {};
static Grid