summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarc-André Lureau <marcandre.lureau@redhat.com>2023-04-16 21:23:49 +0400
committerMatthias Clasen <mclasen@redhat.com>2023-04-21 09:29:12 +0200
commitb03f21193bfea6d88ceea64d019edaeb071259a4 (patch)
treee9947d57b8c0887ac2326b3324939a6887df0724
parent4e305e215b5acab9fc913135f267f1550941c453 (diff)
downloadgtk+-b03f21193bfea6d88ceea64d019edaeb071259a4.tar.gz
gdk/win32: drop some unused variables
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
-rw-r--r--gdk/win32/gdkglcontext-win32-egl.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/gdk/win32/gdkglcontext-win32-egl.c b/gdk/win32/gdkglcontext-win32-egl.c
index 0e8854de49..82019d6e6c 100644
--- a/gdk/win32/gdkglcontext-win32-egl.c
+++ b/gdk/win32/gdkglcontext-win32-egl.c
@@ -83,20 +83,13 @@ gdk_win32_gl_context_egl_end_frame (GdkDrawContext *draw_context,
cairo_region_t *painted)
{
GdkGLContext *context = GDK_GL_CONTEXT (draw_context);
- GdkWin32GLContextEGL *context_egl = GDK_WIN32_GL_CONTEXT_EGL (context);
GdkSurface *surface = gdk_gl_context_get_surface (context);
GdkDisplay *display = gdk_gl_context_get_display (context);
- cairo_rectangle_int_t whole_window;
EGLSurface egl_surface;
GDK_DRAW_CONTEXT_CLASS (gdk_win32_gl_context_egl_parent_class)->end_frame (draw_context, painted);
gdk_gl_context_make_current (context);
- whole_window =
- (GdkRectangle) { 0, 0,
- gdk_surface_get_width (surface),
- gdk_surface_get_height (surface)
- };
egl_surface = gdk_surface_get_egl_surface (surface);