From bbd1c6cefad14752af9c3688e58e4b8a05f68f5e Mon Sep 17 00:00:00 2001 From: Chun-wei Fan Date: Thu, 30 Apr 2015 19:46:56 +0800 Subject: [PATCH] gdkglcontext-win32.c: Remove Obsolete Comments We now have proper checks for gdk_screen_is_composited() and a proper implementation for gdk_screen_get_rgba_visual() for Windows, so we can remove the comments in this file stating that they aren't available for Windows. --- gdk/win32/gdkglcontext-win32.c | 7 ------- 1 file changed, 7 deletions(-) diff --git a/gdk/win32/gdkglcontext-win32.c b/gdk/win32/gdkglcontext-win32.c index 6da67685b1..2961b11495 100644 --- a/gdk/win32/gdkglcontext-win32.c +++ b/gdk/win32/gdkglcontext-win32.c @@ -514,11 +514,6 @@ _gdk_win32_window_create_gl_context (GdkWindow *window, GdkWin32GLContext *context = NULL; GdkVisual *visual = gdk_window_get_visual (window); - /* XXX: gdk_screen_get_rgba_visual() is not implemented on Windows, so - * need_alpha_bits will always be FALSE for now. - * - * Please see bug https://bugzilla.gnome.org/show_bug.cgi?id=727316 - */ gboolean need_alpha_bits = (visual == gdk_screen_get_rgba_visual (gdk_display_get_default_screen (display))); /* Acquire and store up the Windows-specific HWND and HDC */ @@ -600,8 +595,6 @@ _gdk_win32_display_make_gl_context_current (GdkDisplay *display, * happens later anyway, and its up to the compositor to sync that * to the vblank. */ screen = gdk_window_get_screen (window); - - /* XXX: gdk_screen_is_composited () is always FALSE on Windows at the moment */ do_frame_sync = ! gdk_screen_is_composited (screen); if (do_frame_sync != context_win32->do_frame_sync)