Mercurial > hg > Members > kono > Cerium
comparison Renderer/Engine/viewer.cc @ 981:a193a851b5e3
add double buffering frame device
author | root@henri.cr.ie.u-ryukyu.ac.jp |
---|---|
date | Thu, 30 Sep 2010 23:54:08 +0900 |
parents | 9a53faae88d8 |
children | b29547a5b85b |
comparison
equal
deleted
inserted
replaced
980:4ce73df9ac61 | 981:a193a851b5e3 |
---|---|
325 run_finish(); | 325 run_finish(); |
326 return; | 326 return; |
327 } | 327 } |
328 | 328 |
329 dev->clean_pixels(); | 329 dev->clean_pixels(); |
330 pixels = dev->flip_screen(pixels); | |
330 | 331 |
331 for (int i = 1; i <= spackList_length; i++) { | 332 for (int i = 1; i <= spackList_length; i++) { |
332 spackList[i-1].reinit(i*split_screen_h); | 333 spackList[i-1].reinit(i*split_screen_h); |
333 } | 334 } |
334 | 335 |