Mercurial > hg > Game > Cerium
comparison TaskManager/Test/test_render/viewer.cpp @ 203:1eba8570808c draft
fix CreateSpan::run
author | gongo@localhost.localdomain |
---|---|
date | Mon, 26 Jan 2009 18:30:35 +0900 |
parents | 9484318b3e8f |
children | f6a73ff10876 |
comparison
equal
deleted
inserted
replaced
202:76bf19f9e305 | 203:1eba8570808c |
---|---|
338 &pixels[(startx-1)+this->width*(k+starty-1)], | 338 &pixels[(startx-1)+this->width*(k+starty-1)], |
339 (endx - startx + 1)*sizeof(int)); | 339 (endx - startx + 1)*sizeof(int)); |
340 } | 340 } |
341 #else | 341 #else |
342 memset(&pixels[(startx-1)+this->width*(starty-1)], | 342 memset(&pixels[(startx-1)+this->width*(starty-1)], |
343 0x00, (this->width)*sizeof(int)*rangey); | 343 0xFF, (this->width)*sizeof(int)*rangey); |
344 break; | 344 break; |
345 #endif | 345 #endif |
346 } | 346 } |
347 | 347 |
348 task_draw->add_param(startx); | 348 task_draw->add_param(startx); |