diff options
-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); } |