[gtk+] GDK-Win32: Drop Some Unused Items
- From: Chun-wei Fan <fanchunwei src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] GDK-Win32: Drop Some Unused Items
- Date: Mon, 22 Dec 2014 03:25:59 +0000 (UTC)
commit 36245b70585932f1e3a2ed0a10ce2fd8ce9c43de
Author: Chun-wei Fan <fanchunwei src gnome org>
Date: Mon Dec 22 11:25:49 2014 +0800
GDK-Win32: Drop Some Unused Items
There were a bit of unused items from the GDK-Win32 work on GL support, so
drop them.
gdk/win32/gdkdisplay-win32.h | 2 --
gdk/win32/gdkglcontext-win32.c | 2 --
2 files changed, 0 insertions(+), 4 deletions(-)
---
diff --git a/gdk/win32/gdkdisplay-win32.h b/gdk/win32/gdkdisplay-win32.h
index a3e2ea1..1623c7e 100644
--- a/gdk/win32/gdkdisplay-win32.h
+++ b/gdk/win32/gdkdisplay-win32.h
@@ -33,8 +33,6 @@ struct _GdkWin32Display
HWND gl_hwnd;
guint hasWglARBCreateContext : 1;
- guint hasWglARBPbuffer : 1;
- guint hasWglARBRenderTexture : 1;
guint hasWglEXTSwapControl : 1;
guint hasWglOMLSyncControl : 1;
};
diff --git a/gdk/win32/gdkglcontext-win32.c b/gdk/win32/gdkglcontext-win32.c
index 7f61493..d661770 100644
--- a/gdk/win32/gdkglcontext-win32.c
+++ b/gdk/win32/gdkglcontext-win32.c
@@ -493,8 +493,6 @@ _gdk_win32_window_create_gl_context (GdkWindow *window,
gboolean need_alpha_bits = (visual == gdk_screen_get_rgba_visual (gdk_display_get_default_screen
(display)));
/* Real GL Context and Window items */
- WNDCLASSEX wc;
- ATOM wc_atom;
HWND hwnd;
HDC hdc;
HGLRC hglrc;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]