diff options
author | Matt Turner <[email protected]> | 2015-07-30 11:25:27 -0700 |
---|---|---|
committer | Matt Turner <[email protected]> | 2015-09-25 14:08:31 -0700 |
commit | 1dd943d7fb5bd374e871436ccf6546327687c761 (patch) | |
tree | 8d2fd108be4c6591d847bbde64a2585a2704a0c3 /src/mesa/main | |
parent | 3c57a102ebd2efc427a59bf8eb441b4e5dec8553 (diff) |
mesa: Add locking to programs.
Reviewed-by: Timothy Arceri <[email protected]>
Reviewed-by: Brian Paul <[email protected]>
Diffstat (limited to 'src/mesa/main')
-rw-r--r-- | src/mesa/main/mtypes.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mesa/main/mtypes.h b/src/mesa/main/mtypes.h index 5445d39c560..a872942d2a8 100644 --- a/src/mesa/main/mtypes.h +++ b/src/mesa/main/mtypes.h @@ -1888,6 +1888,7 @@ enum gl_frag_depth_layout */ struct gl_program { + mtx_t Mutex; GLuint Id; GLint RefCount; GLubyte *String; /**< Null-terminated program text */ |