using immutable thread_local on variable declarations

This commit is contained in:
Ginger Bill
2017-01-19 20:03:10 +00:00
parent 563b1e2b28
commit 3f023509a7
10 changed files with 166 additions and 195 deletions
+1 -1
View File
@@ -150,7 +150,7 @@ Context :: struct #ordered {
user_index: int,
}
#thread_local __context: Context;
thread_local __context: Context;
DEFAULT_ALIGNMENT :: align_of([vector 4]f32);