Revert "Remove useless global init"
This reverts commit 1dd74052447a2c81ad86c7a46b2685152ebefc7b and fixes startup crashes.
This commit is contained in:
parent
586edb90c1
commit
e363b941bb
@ -50,7 +50,7 @@ DRAWENV draw[2];
|
|||||||
u_long otdisc[2][OT2LEN] = {0};
|
u_long otdisc[2][OT2LEN] = {0};
|
||||||
// Main OT
|
// Main OT
|
||||||
u_long ot[2][OTLEN] = {0}; // Ordering table (contains addresses to primitives)
|
u_long ot[2][OTLEN] = {0}; // Ordering table (contains addresses to primitives)
|
||||||
char primbuff[2][PRIMBUFFLEN]; // Primitive list // That's our prim buffer
|
char primbuff[2][PRIMBUFFLEN] = {0}; // Primitive list // That's our prim buffer
|
||||||
int primcnt=0; // Primitive counter
|
int primcnt=0; // Primitive counter
|
||||||
char * nextpri = primbuff[0]; // Primitive counter
|
char * nextpri = primbuff[0]; // Primitive counter
|
||||||
char db = 0; // Current buffer counter
|
char db = 0; // Current buffer counter
|
||||||
|
Loading…
x
Reference in New Issue
Block a user