modetest: make use of drmModeRmFB
authorJoonyoung Shim <jy0922.shim@samsung.com>
Mon, 13 Apr 2015 08:32:15 +0000 (17:32 +0900)
committerEmil Velikov <emil.l.velikov@gmail.com>
Tue, 28 Apr 2015 12:04:15 +0000 (13:04 +0100)
commitbcaaa75cf482c7d218340c850ffc01f04b78b3dd
tree27f44a05fa1ab6729a004beb9c20ea600db8927c
parent4e4d79d4cae92c5ec29882cea9b8f7e8355f1232
modetest: make use of drmModeRmFB

We should remove the framebuffer before destroying the buffer.

Signed-off-by: Joonyoung Shim <jy0922.shim@samsung.com>
[Emil Velikov: Tweak the commit message. fb_id = 0 is unused]
Reviewed-by: Emil Velikov <emil.l.velikov@gmail.com>
tests/modetest/modetest.c