commit | 7136220b54e68e0c7faac30577ed20b7482481fd | [log] [tgz] |
---|---|---|
author | Jason Sams <rjsams@android.com> | Tue Oct 27 14:44:31 2009 -0700 |
committer | Jason Sams <rjsams@android.com> | Tue Oct 27 14:44:31 2009 -0700 |
tree | fb54db17d9c13daa8c2910309465be13470eb8cf | |
parent | 3333fa4f3d2e1bd3842fe7d41d19557ff9a98372 [diff] [blame] |
Fix egl cleanup code on context teardown.
diff --git a/libs/rs/rsContext.h b/libs/rs/rsContext.h index 0dd90ed..c80fd5a 100644 --- a/libs/rs/rsContext.h +++ b/libs/rs/rsContext.h
@@ -54,6 +54,7 @@ static pthread_key_t gThreadTLSKey; static uint32_t gThreadTLSKeyCount; + static uint32_t gGLContextCount; static pthread_mutex_t gInitMutex; struct ScriptTLSStruct { @@ -215,6 +216,7 @@ Context(); void initEGL(); + void deinitEGL(); bool runRootScript();