-Version: 1.3.51
+Version: 1.3.52
Maintainer: Yeong-Kyoon Lee<yeongkyoon.lee@samsung.com>
Source: emulator
if ( !prev_context_valid ) /* light-weight context */
g_free(surface->context);
}
- surface->context = context;
+ surface->context = context;
return prev_context_valid;
}
if ( surface->context )
{
- prev_context_valid = (surface->context->context != 0);
+ prev_context_valid = (surface->context->hContext != 0);
if ( !prev_context_valid ) /* light-weight context */
g_free(surface->context);
}
if ( !prev_context_valid ) /* light-weight context */
g_free(surface->context);
}
- surface->context = context;
+ surface->context = context;
return prev_context_valid;
}
QTAILQ_REMOVE(&state->qsurfaces, qsurface, next);
- /*XXX: need this?*/
- state->current_qsurface = NULL;
+ if ( state->current_qsurface == qsurface )
+ state->current_qsurface = NULL;
}
/* Find the qsurface with required drawable in active & pending qsurfaces */