diff options
author | Tomi Valkeinen <tomi.valkeinen@ti.com> | 2015-11-12 20:20:04 +0200 |
---|---|---|
committer | Tomi Valkeinen <tomi.valkeinen@ti.com> | 2015-11-13 17:55:48 +0200 |
commit | e1b78c7b484a5025d854d8f1e5d0cc3f2cc3113e (patch) | |
tree | 5aaa2ba5a300fc48cebeff99904802e9b4927fba /libkms++/dumbframebuffer.h | |
parent | 0f904fb2b2836035bd7564deeb2e115369b73c98 (diff) |
dumbfb: move prime_fd() and fix its return type
Diffstat (limited to 'libkms++/dumbframebuffer.h')
-rw-r--r-- | libkms++/dumbframebuffer.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libkms++/dumbframebuffer.h b/libkms++/dumbframebuffer.h index c221421..226a8dc 100644 --- a/libkms++/dumbframebuffer.h +++ b/libkms++/dumbframebuffer.h @@ -20,7 +20,7 @@ public: uint32_t size(unsigned plane) const { return m_planes[plane].size; } uint32_t offset(unsigned plane) const { return m_planes[plane].offset; } uint8_t* map(unsigned plane); - uint32_t prime_fd(unsigned plane); + int prime_fd(unsigned plane); private: struct FramebufferPlane { |