avoid int/float comparisons within a number of for loops in deep shadow map compression.

gives minor overall speedup.
This commit is contained in:
2011-01-03 06:13:50 +00:00
parent 97e84765cd
commit 22b97743ef
2 changed files with 11 additions and 5 deletions

View File

@@ -1030,7 +1030,7 @@ static void shader_preview_render(ShaderPreview *sp, ID *id, int split, int firs
/* handle results */
if(sp->pr_method==PR_ICON_RENDER) {
char *rct= (char *)(sp->pr_rect + 32*16 + 16);
// char *rct= (char *)(sp->pr_rect + 32*16 + 16);
if(sp->pr_rect)
RE_ResultGet32(re, sp->pr_rect);