[Cogl] [PATCH 2/2] kms-winsys: Remove a few unused variables

Rui Matos tiagomatos at gmail.com
Wed Feb 18 06:24:15 PST 2015


---
 cogl/winsys/cogl-winsys-egl-kms.c | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/cogl/winsys/cogl-winsys-egl-kms.c b/cogl/winsys/cogl-winsys-egl-kms.c
index dbedb0c..b06c1da 100644
--- a/cogl/winsys/cogl-winsys-egl-kms.c
+++ b/cogl/winsys/cogl-winsys-egl-kms.c
@@ -240,10 +240,6 @@ page_flip_handler (int fd,
       CoglOnscreen *onscreen = flip->onscreen;
       CoglOnscreenEGL *egl_onscreen = onscreen->winsys;
       CoglOnscreenKMS *kms_onscreen = egl_onscreen->platform;
-      CoglContext *context = COGL_FRAMEBUFFER (onscreen)->context;
-      CoglRenderer *renderer = context->display->renderer;
-      CoglRendererEGL *egl_renderer = renderer->winsys;
-      CoglRendererKMS *kms_renderer = egl_renderer->platform;
 
       queue_swap_notify_for_onscreen (onscreen);
 
-- 
2.1.0



More information about the Cogl mailing list