style cleanup: mainly for mesh code, also some WM function use.

This commit is contained in:
2012-03-24 02:51:46 +00:00
parent d6fd5266d0
commit 2f348d8b5d
143 changed files with 1440 additions and 1436 deletions

View File

@@ -710,10 +710,10 @@ gla2DDrawInfo *glaBegin2DDraw(rcti *screen_rect, rctf *world_rect)
if (world_rect) {
di->world_rect= *world_rect;
} else {
di->world_rect.xmin= di->screen_rect.xmin;
di->world_rect.ymin= di->screen_rect.ymin;
di->world_rect.xmax= di->screen_rect.xmax;
di->world_rect.ymax= di->screen_rect.ymax;
di->world_rect.xmin = di->screen_rect.xmin;
di->world_rect.ymin = di->screen_rect.ymin;
di->world_rect.xmax = di->screen_rect.xmax;
di->world_rect.ymax = di->screen_rect.ymax;
}
sc_w= (di->screen_rect.xmax-di->screen_rect.xmin);