Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fix minor crash : due to call eglSwapBuffers after eglDestroyContext

  • Loading branch information...
commit cd758986fc5359ceeef1c9299dcbd2afce34f9e7 1 parent 3829cba
@hantempo hantempo authored jrfonseca committed
Showing with 1 addition and 1 deletion.
  1. +1 −1  glretrace_egl.cpp
View
2  glretrace_egl.cpp
@@ -238,7 +238,7 @@ static void retrace_eglMakeCurrent(trace::Call &call) {
static void retrace_eglSwapBuffers(trace::Call &call) {
frame_complete(call);
- if (double_buffer) {
+ if (double_buffer && drawable) {
drawable->swapBuffers();
} else {
glFlush();
Please sign in to comment.
Something went wrong with that request. Please try again.