OSDN Git Service
(root)
/
android-x86
/
frameworks-native.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
41088d9
)
GLConsumer: correct EGL_NO_DISPLAY to EGL_NO_CONTEXT
author
Jesse Hall
<jessehall@google.com>
Wed, 6 Aug 2014 19:15:15 +0000
(12:15 -0700)
committer
Jesse Hall
<jessehall@google.com>
Thu, 4 Sep 2014 17:07:28 +0000
(10:07 -0700)
Change-Id: I4dcb57a0db9ee3c5222cd453c9213859384212b0
libs/gui/GLConsumer.cpp
patch
|
blob
|
history
diff --git
a/libs/gui/GLConsumer.cpp
b/libs/gui/GLConsumer.cpp
index
ccafe81
..
94e9866
100644
(file)
--- a/
libs/gui/GLConsumer.cpp
+++ b/
libs/gui/GLConsumer.cpp
@@
-505,7
+505,7
@@
status_t GLConsumer::checkAndUpdateEglStateLocked(bool contextCheck) {
if (mEglDisplay == EGL_NO_DISPLAY) {
mEglDisplay = dpy;
}
- if (mEglContext == EGL_NO_
DISPLAY
) {
+ if (mEglContext == EGL_NO_
CONTEXT
) {
mEglContext = ctx;
}
}