Cleanup: correct spelling in comments
This commit is contained in:
@@ -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 */
|
||||
|
||||
Reference in New Issue
Block a user