diff options
author | Campbell Barton <campbell@blender.org> | 2022-06-03 06:39:37 +0300 |
---|---|---|
committer | Campbell Barton <campbell@blender.org> | 2022-06-03 08:08:11 +0300 |
commit | e87082d8a70a0252ca76ce93b08c5bd65e29928b (patch) | |
tree | 2953ec6ce0d450e3b9a4259c96bee83fded06a44 /intern | |
parent | 379672ca0baf0c37bb01fd108c61da52c16cac9e (diff) |
Cleanup: spelling in comments
Diffstat (limited to 'intern')
-rw-r--r-- | intern/cycles/blender/image.cpp | 2 | ||||
-rw-r--r-- | intern/ghost/GHOST_Types.h | 2 | ||||
-rw-r--r-- | intern/ghost/intern/GHOST_WindowX11.cpp | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/intern/cycles/blender/image.cpp b/intern/cycles/blender/image.cpp index 535718150b3..98ca16fe678 100644 --- a/intern/cycles/blender/image.cpp +++ b/intern/cycles/blender/image.cpp @@ -104,7 +104,7 @@ bool BlenderImageLoader::load_pixels(const ImageMetaData &metadata, } else if (metadata.type == IMAGE_DATA_TYPE_HALF || metadata.type == IMAGE_DATA_TYPE_HALF4) { /* Half float. Blender does not have a half type, but in some cases - * we upsample byte to half to avoid precision loss for colorspace + * we up-sample byte to half to avoid precision loss for colorspace * conversion. */ unsigned char *in_pixels = image_get_pixels_for_frame(b_image, frame, tile_number); diff --git a/intern/ghost/GHOST_Types.h b/intern/ghost/GHOST_Types.h index 85913fbd10c..e2ed9830e4e 100644 --- a/intern/ghost/GHOST_Types.h +++ b/intern/ghost/GHOST_Types.h @@ -521,7 +521,7 @@ typedef struct { } GHOST_TEventNDOFMotionData; typedef enum { GHOST_kPress, GHOST_kRelease } GHOST_TButtonAction; -/* Good for mouse or other buttons too, hmmm? */ +/* Good for mouse or other buttons too? */ typedef struct { GHOST_TButtonAction action; diff --git a/intern/ghost/intern/GHOST_WindowX11.cpp b/intern/ghost/intern/GHOST_WindowX11.cpp index 3569c9574f1..ac7a476c76f 100644 --- a/intern/ghost/intern/GHOST_WindowX11.cpp +++ b/intern/ghost/intern/GHOST_WindowX11.cpp @@ -1711,7 +1711,7 @@ uint16_t GHOST_WindowX11::getDPIHint() XrmDestroyDatabase(xrdb); } - /* Fallback to calculating DPI using X reported DPI, set using xrandr --dpi */ + /* Fallback to calculating DPI using X reported DPI, set using `xrandr --dpi`. */ XWindowAttributes attr; if (!XGetWindowAttributes(m_display, m_window, &attr)) { /* Failed to get window attributes, return X11 default DPI */ |