mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-16 21:50:34 +00:00
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.
This commit is contained in:
parent
a2c12f582e
commit
bbd1c6cefa
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user