aboutsummaryrefslogtreecommitdiff
path: root/rootston
diff options
context:
space:
mode:
authorMarkus Ongyerth <ongy@ongy.net>2018-01-29 11:29:54 +0100
committerMarkus Ongyerth <ongy@ongy.net>2018-01-29 11:29:54 +0100
commit2cdb646531d949e08b8a0538b05bd38af3157408 (patch)
tree38815c0a39ee068cbee26c8f9b9fcdc3e482f5b2 /rootston
parent60b2d969e07e24ed1b96ccc9d82bc2f9c1d540f2 (diff)
relases gbm buffers on init
The wlr_drm_surface_init function is called (upon others) when the drm mode is changed. When the surface was used previously this replaced the gbm_surface, but did not replace the gbm buffers (front/back). With this, wlr_drm_surface_get_from never set up the new buffers with the new glViewport because surf->front existed. This frees the buffers to get new buffers on the new surface with the new viewport.
Diffstat (limited to 'rootston')
0 files changed, 0 insertions, 0 deletions