Ignore:
Timestamp:
05/12/06 16:00:21 (18 years ago)
Author:
igarcia
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • GTP/trunk/Lib/Illum/GPUObscurancesGT/src/MyFrame.cpp

    r930 r953  
    226226        float r_float; 
    227227 
    228         i = 0; 
    229         j = 0;   
    230         while (i < (res * res * 4)) 
     228        for (i = 0, j = 0; i < (res * res * 4); i += 4, j += 3) 
    231229        { 
    232230                r_float = ObscuranceMap[i] * 255; 
     
    236234                r_float = ObscuranceMap[i+2] * 255; 
    237235                bmp[j + 2] = uchar(r_float); 
    238  
    239                 j += 3; 
    240                 i += 4; 
    241236        } 
    242237 
Note: See TracChangeset for help on using the changeset viewer.