diff options
Diffstat (limited to 'intern')
-rw-r--r-- | intern/cycles/util/math_fast.h | 2 | ||||
-rw-r--r-- | intern/ghost/intern/GHOST_SystemX11.h | 2 | ||||
-rw-r--r-- | intern/ghost/intern/GHOST_WindowX11.cpp | 6 | ||||
-rw-r--r-- | intern/ghost/intern/GHOST_WindowX11.h | 2 | ||||
-rw-r--r-- | intern/ghost/intern/GHOST_XrGraphicsBinding.cpp | 4 |
5 files changed, 8 insertions, 8 deletions
diff --git a/intern/cycles/util/math_fast.h b/intern/cycles/util/math_fast.h index 142a664a1d2..fc7eadb112b 100644 --- a/intern/cycles/util/math_fast.h +++ b/intern/cycles/util/math_fast.h @@ -589,7 +589,7 @@ ccl_device_inline float fast_erfcf(float x) ccl_device_inline float fast_ierff(float x) { /* From: Approximating the `erfinv` function by Mike Giles. */ - /* To avoid trouble at the limit, clamp input to 1-eps. */ + /* To avoid trouble at the limit, clamp input to 1-epsilon. */ float a = fabsf(x); if (a > 0.99999994f) { a = 0.99999994f; diff --git a/intern/ghost/intern/GHOST_SystemX11.h b/intern/ghost/intern/GHOST_SystemX11.h index 33376d36a92..572be30174d 100644 --- a/intern/ghost/intern/GHOST_SystemX11.h +++ b/intern/ghost/intern/GHOST_SystemX11.h @@ -14,7 +14,7 @@ #include "../GHOST_Types.h" #include "GHOST_System.h" -// For tablets +/* For tablets. */ #ifdef WITH_X11_XINPUT # include <X11/extensions/XInput.h> diff --git a/intern/ghost/intern/GHOST_WindowX11.cpp b/intern/ghost/intern/GHOST_WindowX11.cpp index 200d47e9c61..8d8ce3643f4 100644 --- a/intern/ghost/intern/GHOST_WindowX11.cpp +++ b/intern/ghost/intern/GHOST_WindowX11.cpp @@ -25,18 +25,18 @@ #include "GHOST_ContextEGL.h" #include "GHOST_ContextGLX.h" -/* for XIWarpPointer */ +/* For #XIWarpPointer. */ #ifdef WITH_X11_XINPUT # include <X11/extensions/XInput2.h> #endif -// For DPI value +/* For DPI value. */ #include <X11/Xresource.h> #include <cstdio> #include <cstring> -/* gethostname */ +/* For `gethostname`. */ #include <unistd.h> #include <algorithm> diff --git a/intern/ghost/intern/GHOST_WindowX11.h b/intern/ghost/intern/GHOST_WindowX11.h index 01af0b5ac86..e9bee43c035 100644 --- a/intern/ghost/intern/GHOST_WindowX11.h +++ b/intern/ghost/intern/GHOST_WindowX11.h @@ -11,7 +11,7 @@ #include "GHOST_Window.h" #include <X11/Xlib.h> #include <X11/Xutil.h> -// For tablets +/* For tablets. */ #ifdef WITH_X11_XINPUT # include <X11/extensions/XInput.h> #endif diff --git a/intern/ghost/intern/GHOST_XrGraphicsBinding.cpp b/intern/ghost/intern/GHOST_XrGraphicsBinding.cpp index 6a7eb25925a..d387b222538 100644 --- a/intern/ghost/intern/GHOST_XrGraphicsBinding.cpp +++ b/intern/ghost/intern/GHOST_XrGraphicsBinding.cpp @@ -85,7 +85,7 @@ class GHOST_XrGraphicsBindingOpenGL : public GHOST_IXrGraphicsBinding { XrGraphicsRequirementsOpenGLKHR gpu_requirements = {XR_TYPE_GRAPHICS_REQUIREMENTS_OPENGL_KHR}; const XrVersion gl_version = XR_MAKE_VERSION(gl_major_version, gl_minor_version, 0); - /* Although it would seem reasonable that the proc address would not change if the instance was + /* Although it would seem reasonable that the PROC address would not change if the instance was * the same, in testing, repeated calls to #xrGetInstanceProcAddress() with the same instance * can still result in changes so the workaround is to simply set the function pointer every * time (trivializing its 'static' designation). */ @@ -343,7 +343,7 @@ class GHOST_XrGraphicsBindingD3D : public GHOST_IXrGraphicsBinding { // static XrInstance s_instance = XR_NULL_HANDLE; XrGraphicsRequirementsD3D11KHR gpu_requirements = {XR_TYPE_GRAPHICS_REQUIREMENTS_D3D11_KHR}; - /* Although it would seem reasonable that the proc address would not change if the instance was + /* Although it would seem reasonable that the PROC address would not change if the instance was * the same, in testing, repeated calls to #xrGetInstanceProcAddress() with the same instance * can still result in changes so the workaround is to simply set the function pointer every * time (trivializing its 'static' designation). */ |