Merge change Ia4424950 into eclair
* changes: Fix stupid bug in GLThreadManager implementation.
This commit is contained in:
@ -1281,8 +1281,8 @@ public class GLSurfaceView extends SurfaceView implements SurfaceHolder.Callback
|
||||
public void start(GLThread thread) throws InterruptedException {
|
||||
GLThread oldThread = null;
|
||||
synchronized(this) {
|
||||
mMostRecentGLThread = thread;
|
||||
oldThread = mMostRecentGLThread;
|
||||
mMostRecentGLThread = thread;
|
||||
}
|
||||
if (oldThread != null) {
|
||||
synchronized(oldThread) {
|
||||
|
Reference in New Issue
Block a user