diff options
author | RĂ©mi Verschelde <rverschelde@gmail.com> | 2019-09-20 17:09:05 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-09-20 17:09:05 +0200 |
commit | fdc2463a1ba6de47c13d976105153cfaa19b86d6 (patch) | |
tree | f4b714c1895c7a621d7ed76e61939e70d24392f1 /servers/visual/visual_server_viewport.cpp | |
parent | 6f10e994fbf282e4e9db0a5988884c50a15849c3 (diff) | |
parent | 91ecd7b6a679edeaee6b6ac147074c80d2bd30f6 (diff) |
Merge pull request #32150 from luzpaz/typos
Fix misc. source comment typos
Diffstat (limited to 'servers/visual/visual_server_viewport.cpp')
-rw-r--r-- | servers/visual/visual_server_viewport.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/servers/visual/visual_server_viewport.cpp b/servers/visual/visual_server_viewport.cpp index 0863d5c2e3..f515af4d91 100644 --- a/servers/visual/visual_server_viewport.cpp +++ b/servers/visual/visual_server_viewport.cpp @@ -461,7 +461,7 @@ void VisualServerViewport::viewport_set_render_direct_to_screen(RID p_viewport, VSG::storage->render_target_set_flag(viewport->render_target, RasterizerStorage::RENDER_TARGET_DIRECT_TO_SCREEN, p_enable); viewport->viewport_render_direct_to_screen = p_enable; - // if attached to screen already, setup screen size and position, this needs to happen after setting flag to avoid an unneccesary buffer allocation + // if attached to screen already, setup screen size and position, this needs to happen after setting flag to avoid an unnecessary buffer allocation if (VSG::rasterizer->is_low_end() && viewport->viewport_to_screen_rect != Rect2() && p_enable) { VSG::storage->render_target_set_size(viewport->render_target, viewport->viewport_to_screen_rect.size.x, viewport->viewport_to_screen_rect.size.y); |