uterm: video: return -EOPNOTSUPP when opengl is not supported
authorDavid Herrmann <dh.herrmann@googlemail.com>
Sat, 23 Jun 2012 20:04:06 +0000 (22:04 +0200)
committerDavid Herrmann <dh.herrmann@googlemail.com>
Sat, 23 Jun 2012 20:04:06 +0000 (22:04 +0200)
commit0ca1256ed5459cc3eee209007a39eaabb05cfdbf
treef8c6c4b681543716715c5e2d1f626cf61ccb1c88
parent59f4e845198c86eb85975035caec324da6180765
uterm: video: return -EOPNOTSUPP when opengl is not supported

When the backend does not implement display_use() then we return an error
instead of success to notify the application that it should use blitting
instead.

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