uterm: drm: activate context before swapping
authorDavid Herrmann <dh.herrmann@gmail.com>
Mon, 4 Nov 2013 18:37:05 +0000 (19:37 +0100)
committerDavid Herrmann <dh.herrmann@gmail.com>
Mon, 4 Nov 2013 18:37:05 +0000 (19:37 +0100)
commit3b6fb0f75f50621eff2d6c1dfb5d9a0ce0f9216d
tree86163573bab2db90e66af0ea948de04f0df373e5
parent48bf4bd58f72b0c6a274b286513bc7905d3c1e80
uterm: drm: activate context before swapping

Lets be safe here and activate the context before performing the
buffer-swap. Drivers might be inconsistent and require this in case the
background process changed the DRM state.

Signed-off-by: David Herrmann <dh.herrmann@gmail.com>
src/uterm_drm_shared.c