From 9a781cef535a7a2756a4775d427b53dc2e46e1cd Mon Sep 17 00:00:00 2001 From: Camilla Berglund Date: Sun, 5 Jun 2016 19:36:35 +0200 Subject: [PATCH] Formatting --- src/cocoa_platform.h | 4 ---- src/egl_context.h | 1 - src/glx_context.h | 1 - src/internal.h | 6 ------ src/linux_joystick.h | 1 - src/mir_platform.h | 3 --- src/nsgl_context.h | 1 - src/wgl_context.h | 1 - src/win32_platform.h | 5 ----- src/wl_platform.h | 4 ---- src/x11_platform.h | 3 --- 11 files changed, 30 deletions(-) diff --git a/src/cocoa_platform.h b/src/cocoa_platform.h index ddd7c1b7..e9f2d955 100644 --- a/src/cocoa_platform.h +++ b/src/cocoa_platform.h @@ -82,7 +82,6 @@ typedef struct _GLFWwindowNS } _GLFWwindowNS; - // Cocoa-specific global data // typedef struct _GLFWlibraryNS @@ -115,7 +114,6 @@ typedef struct _GLFWlibraryNS } _GLFWlibraryNS; - // Cocoa-specific per-monitor data // typedef struct _GLFWmonitorNS @@ -126,7 +124,6 @@ typedef struct _GLFWmonitorNS } _GLFWmonitorNS; - // Cocoa-specific per-cursor data // typedef struct _GLFWcursorNS @@ -135,7 +132,6 @@ typedef struct _GLFWcursorNS } _GLFWcursorNS; - // Cocoa-specific global timer data // typedef struct _GLFWtimeNS diff --git a/src/egl_context.h b/src/egl_context.h index 2f396dbf..b0cb09d5 100644 --- a/src/egl_context.h +++ b/src/egl_context.h @@ -165,7 +165,6 @@ typedef struct _GLFWcontextEGL } _GLFWcontextEGL; - // EGL-specific global data // typedef struct _GLFWlibraryEGL diff --git a/src/glx_context.h b/src/glx_context.h index 58f58e65..e4a857e7 100644 --- a/src/glx_context.h +++ b/src/glx_context.h @@ -121,7 +121,6 @@ typedef struct _GLFWcontextGLX } _GLFWcontextGLX; - // GLX-specific global data // typedef struct _GLFWlibraryGLX diff --git a/src/internal.h b/src/internal.h index 53bf33ff..c821d05d 100644 --- a/src/internal.h +++ b/src/internal.h @@ -256,7 +256,6 @@ struct _GLFWwndconfig GLFWbool maximized; }; - /*! @brief Context configuration. * * Parameters relating to the creation of the context but not directly related @@ -278,7 +277,6 @@ struct _GLFWctxconfig _GLFWwindow* share; }; - /*! @brief Framebuffer configuration. * * This describes buffers and their sizes. It also contains @@ -307,7 +305,6 @@ struct _GLFWfbconfig uintptr_t handle; }; - /*! @brief Context structure. */ struct _GLFWcontext @@ -337,7 +334,6 @@ struct _GLFWcontext _GLFW_EGL_CONTEXT_STATE; }; - /*! @brief Window and context structure. */ struct _GLFWwindow @@ -391,7 +387,6 @@ struct _GLFWwindow _GLFW_PLATFORM_WINDOW_STATE; }; - /*! @brief Monitor structure. */ struct _GLFWmonitor @@ -415,7 +410,6 @@ struct _GLFWmonitor _GLFW_PLATFORM_MONITOR_STATE; }; - /*! @brief Cursor structure */ struct _GLFWcursor diff --git a/src/linux_joystick.h b/src/linux_joystick.h index c949e81d..e9d1f2ba 100644 --- a/src/linux_joystick.h +++ b/src/linux_joystick.h @@ -46,7 +46,6 @@ typedef struct _GLFWjoystickLinux char* path; } _GLFWjoystickLinux; - // Linux-specific joystick API data // typedef struct _GLFWjoylistLinux diff --git a/src/mir_platform.h b/src/mir_platform.h index 66c6776d..8f1cf4e4 100644 --- a/src/mir_platform.h +++ b/src/mir_platform.h @@ -87,7 +87,6 @@ typedef struct _GLFWwindowMir } _GLFWwindowMir; - // Mir-specific per-monitor data // typedef struct _GLFWmonitorMir @@ -99,7 +98,6 @@ typedef struct _GLFWmonitorMir } _GLFWmonitorMir; - // Mir-specific global data // typedef struct _GLFWlibraryMir @@ -116,7 +114,6 @@ typedef struct _GLFWlibraryMir } _GLFWlibraryMir; - // Mir-specific per-cursor data // TODO: Only system cursors are implemented in Mir atm. Need to wait for support. // diff --git a/src/nsgl_context.h b/src/nsgl_context.h index 820677ef..1304f2e8 100644 --- a/src/nsgl_context.h +++ b/src/nsgl_context.h @@ -40,7 +40,6 @@ typedef struct _GLFWcontextNSGL } _GLFWcontextNSGL; - // NSGL-specific global data // typedef struct _GLFWlibraryNSGL diff --git a/src/wgl_context.h b/src/wgl_context.h index d031fdf4..9207e2f0 100644 --- a/src/wgl_context.h +++ b/src/wgl_context.h @@ -110,7 +110,6 @@ typedef struct _GLFWcontextWGL } _GLFWcontextWGL; - // WGL-specific global data // typedef struct _GLFWlibraryWGL diff --git a/src/win32_platform.h b/src/win32_platform.h index f0009b90..c0dcff15 100644 --- a/src/win32_platform.h +++ b/src/win32_platform.h @@ -241,7 +241,6 @@ typedef struct _GLFWwindowWin32 } _GLFWwindowWin32; - // Win32-specific global data // typedef struct _GLFWlibraryWin32 @@ -293,7 +292,6 @@ typedef struct _GLFWlibraryWin32 } _GLFWlibraryWin32; - // Win32-specific per-monitor data // typedef struct _GLFWmonitorWin32 @@ -308,7 +306,6 @@ typedef struct _GLFWmonitorWin32 } _GLFWmonitorWin32; - // Win32-specific per-cursor data // typedef struct _GLFWcursorWin32 @@ -317,7 +314,6 @@ typedef struct _GLFWcursorWin32 } _GLFWcursorWin32; - // Win32-specific global timer data // typedef struct _GLFWtimeWin32 @@ -327,7 +323,6 @@ typedef struct _GLFWtimeWin32 } _GLFWtimeWin32; - // Win32-specific global TLS data // typedef struct _GLFWtlsWin32 diff --git a/src/wl_platform.h b/src/wl_platform.h index 221108ed..9e42b36f 100644 --- a/src/wl_platform.h +++ b/src/wl_platform.h @@ -74,7 +74,6 @@ typedef VkBool32 (APIENTRY *PFN_vkGetPhysicalDeviceWaylandPresentationSupportKHR // typedef struct _GLFWvidmodeWayland _GLFWvidmodeWayland; - // Wayland-specific per-window data // typedef struct _GLFWwindowWayland @@ -105,7 +104,6 @@ typedef struct _GLFWwindowWayland } pointerLock; } _GLFWwindowWayland; - // Wayland-specific global data // typedef struct _GLFWlibraryWayland @@ -149,7 +147,6 @@ typedef struct _GLFWlibraryWayland } _GLFWlibraryWayland; - // Wayland-specific per-monitor data // typedef struct _GLFWmonitorWayland @@ -166,7 +163,6 @@ typedef struct _GLFWmonitorWayland int scale; } _GLFWmonitorWayland; - // Wayland-specific per-cursor data // typedef struct _GLFWcursorWayland diff --git a/src/x11_platform.h b/src/x11_platform.h index 403821be..7b460254 100644 --- a/src/x11_platform.h +++ b/src/x11_platform.h @@ -130,7 +130,6 @@ typedef struct _GLFWwindowX11 } _GLFWwindowX11; - // X11-specific global data // typedef struct _GLFWlibraryX11 @@ -259,7 +258,6 @@ typedef struct _GLFWlibraryX11 } _GLFWlibraryX11; - // X11-specific per-monitor data // typedef struct _GLFWmonitorX11 @@ -274,7 +272,6 @@ typedef struct _GLFWmonitorX11 } _GLFWmonitorX11; - // X11-specific per-cursor data // typedef struct _GLFWcursorX11