Cleanup: correct spelling in comments

This commit is contained in:
2021-02-05 16:23:34 +11:00
parent b62b923f54
commit 17e1e2bfd8
417 changed files with 833 additions and 823 deletions

View File

@@ -355,7 +355,7 @@ void ui_draw_but_IMAGE(ARegion *UNUSED(region),
GPU_blend(GPU_BLEND_NONE);
# if 0
/* restore scissortest */
/* Restore scissor-test. */
GPU_scissor(scissor[0], scissor[1], scissor[2], scissor[3]);
# endif
@@ -1410,7 +1410,7 @@ void ui_draw_but_UNITVEC(uiBut *but, const uiWidgetColors *wcol, const rcti *rec
GPU_batch_uniform_3fv(sphere, "light", light);
GPU_batch_draw(sphere);
/* restore */
/* Restore. */
GPU_face_culling(GPU_CULL_NONE);
/* AA circle */
@@ -1740,7 +1740,7 @@ void ui_draw_but_CURVE(ARegion *region, uiBut *but, const uiWidgetColors *wcol,
immEnd();
immUnbindProgram();
/* restore scissortest */
/* Restore scissor-test. */
GPU_scissor(scissor[0], scissor[1], scissor[2], scissor[3]);
/* outline */
@@ -2030,7 +2030,7 @@ void ui_draw_but_CURVEPROFILE(ARegion *region,
}
immUnbindProgram();
/* restore scissortest */
/* Restore scissor-test. */
GPU_scissor(scissor[0], scissor[1], scissor[2], scissor[3]);
/* Outline */