diff options
author | Benjamin Otte <otte@redhat.com> | 2010-06-21 13:30:06 +0200 |
---|---|---|
committer | Benjamin Otte <otte@redhat.com> | 2010-06-22 20:21:15 +0200 |
commit | 76a721f7e94fb040f106b200c09c1a7b9ae83d36 (patch) | |
tree | e390f359454992367577f1a0e31738babae0406e /src | |
parent | b8051ee985ed46c69f5fba1216ead1ebacecfd44 (diff) |
egl: Remove unused prev_foo usage
Diffstat (limited to 'src')
-rw-r--r-- | src/cairo-egl-context.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/src/cairo-egl-context.c b/src/cairo-egl-context.c index 10db1282..455160c3 100644 --- a/src/cairo-egl-context.c +++ b/src/cairo-egl-context.c @@ -48,9 +48,6 @@ typedef struct _cairo_egl_context { EGLDisplay display; EGLContext context; - EGLContext prev_context; - EGLSurface prev_draw_surface; - EGLSurface prev_read_surface; EGLSurface dummy_surface; } cairo_egl_context_t; @@ -66,10 +63,6 @@ _egl_acquire (void *abstract_ctx) { cairo_egl_context_t *ctx = abstract_ctx; - ctx->prev_context = eglGetCurrentContext (); - ctx->prev_draw_surface = eglGetCurrentSurface (EGL_DRAW); - ctx->prev_read_surface = eglGetCurrentSurface (EGL_READ); - eglMakeCurrent (ctx->display, ctx->dummy_surface, ctx->dummy_surface, ctx->context); } |