aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2021-12-17 12:18:03 -0500
committerDavid Robillard <d@drobilla.net>2021-12-17 12:18:03 -0500
commitf52f01257fd8a081ca00b7a7c054a6e85646ccef (patch)
treee3a7c8c66e274d77c3b2961a5b1742c0948a7735
parent7dd7d5d9dca9fdcedd9bc7c6568be864b5236c97 (diff)
downloadpugl-f52f01257fd8a081ca00b7a7c054a6e85646ccef.tar.gz
pugl-f52f01257fd8a081ca00b7a7c054a6e85646ccef.tar.bz2
pugl-f52f01257fd8a081ca00b7a7c054a6e85646ccef.zip
Fix spelling errors
-rw-r--r--examples/pugl_vulkan_cpp_demo.cpp2
-rw-r--r--include/pugl/pugl.h8
2 files changed, 5 insertions, 5 deletions
diff --git a/examples/pugl_vulkan_cpp_demo.cpp b/examples/pugl_vulkan_cpp_demo.cpp
index d92e652..4a798ba 100644
--- a/examples/pugl_vulkan_cpp_demo.cpp
+++ b/examples/pugl_vulkan_cpp_demo.cpp
@@ -1605,7 +1605,7 @@ endFrame(const sk::VulkanApi& vk,
nullptr};
switch ((r = vk.queuePresentKHR(gpu.graphicsQueue, presentInfo))) {
- case VK_SUCCESS: // Sucessfully presented
+ case VK_SUCCESS: // Successfully presented
case VK_SUBOPTIMAL_KHR: // Probably a resize race, ignore
case VK_ERROR_OUT_OF_DATE_KHR: // Probably a resize race, ignore
break;
diff --git a/include/pugl/pugl.h b/include/pugl/pugl.h
index 4d26604..c4ab92d 100644
--- a/include/pugl/pugl.h
+++ b/include/pugl/pugl.h
@@ -996,8 +996,8 @@ puglSetMaxSize(PuglView* view, int width, int height);
fixed aspect ratio, set the minimum and maximum values to the same ratio.
Note that setting different minimum and maximum constraints does not
- currenty work on MacOS (the minimum is used), so only setting a fixed aspect
- ratio works properly across all platforms.
+ currently work on MacOS (the minimum is used), so only setting a fixed
+ aspect ratio works properly across all platforms.
If an initial aspect ratio is known, this should be called before
puglRealize() to avoid stutter, though it can be called afterwards as well.
@@ -1480,8 +1480,8 @@ puglInitWindowMinSize(PuglView* view, int width, int height)
fixed aspect ratio, set the minimum and maximum values to the same ratio.
Note that setting different minimum and maximum constraints does not
- currenty work on MacOS (the minimum is used), so only setting a fixed aspect
- ratio works properly across all platforms.
+ currently work on MacOS (the minimum is used), so only setting a fixed
+ aspect ratio works properly across all platforms.
*/
static inline PUGL_DEPRECATED_BY("puglSetAspectRatio")
void