summaryrefslogtreecommitdiff
path: root/kmscube
diff options
context:
space:
mode:
authorTomi Valkeinen <tomi.valkeinen@ti.com>2016-04-25 17:24:39 +0300
committerTomi Valkeinen <tomi.valkeinen@ti.com>2016-04-25 17:24:39 +0300
commit077a1aa010c1e1b8693f2569f10eaebbd4b18f64 (patch)
treece8771a208585657a95c99c0c31e52b076009bfe /kmscube
parentd6d102751083a189d1d450ced62e6c527e2b640c (diff)
kmscube: fix wrong uses of class Framebuffer
Diffstat (limited to 'kmscube')
-rw-r--r--kmscube/cube-gbm.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/kmscube/cube-gbm.cpp b/kmscube/cube-gbm.cpp
index d015c55..bbf58d1 100644
--- a/kmscube/cube-gbm.cpp
+++ b/kmscube/cube-gbm.cpp
@@ -140,7 +140,7 @@ public:
return fb;
}
- struct Framebuffer* lock_next()
+ Framebuffer* lock_next()
{
bo_prev = bo_next;
bo_next = gsurface->lock_front_buffer();
@@ -201,9 +201,9 @@ public:
m_surface1->make_current();
m_surface1->swap_buffers();
- struct Framebuffer* fb = m_surface1->lock_next();
+ Framebuffer* fb = m_surface1->lock_next();
- struct Framebuffer* planefb = 0;
+ Framebuffer* planefb = 0;
if (m_plane) {
m_surface2->make_current();
@@ -272,9 +272,9 @@ private:
m_surface1->make_current();
m_scene1->draw(m_frame_num * m_rotation_mult);
m_surface1->swap_buffers();
- struct Framebuffer* fb = m_surface1->lock_next();
+ Framebuffer* fb = m_surface1->lock_next();
- struct Framebuffer* planefb = 0;
+ Framebuffer* planefb = 0;
if (m_plane) {
m_surface2->make_current();