[gtk+] gdkglcontext-win32.c: Remove Obsolete Comments



commit bbd1c6cefad14752af9c3688e58e4b8a05f68f5e
Author: Chun-wei Fan <fanchunwei src gnome org>
Date:   Thu Apr 30 19:46:56 2015 +0800

    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 files changed, 0 insertions(+), 7 deletions(-)
---
diff --git a/gdk/win32/gdkglcontext-win32.c b/gdk/win32/gdkglcontext-win32.c
index 6da6768..2961b11 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)


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]