diff options
-rw-r--r-- | examples/pugl_vulkan_cpp_demo.cpp | 2 | ||||
-rw-r--r-- | include/pugl/pugl.h | 8 |
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 |