Mercurial > hg > Members > kono > Cerium
comparison Renderer/Engine/viewerPS3.cc @ 985:e40dd2384357
fix light data update
author | root@henri.cr.ie.u-ryukyu.ac.jp |
---|---|
date | Fri, 01 Oct 2010 02:49:38 +0900 |
parents | df5185513c2d |
children | 0b6f8c82625a |
comparison
equal
deleted
inserted
replaced
984:df5185513c2d | 985:e40dd2384357 |
---|---|
78 | 78 |
79 uint32_t * | 79 uint32_t * |
80 ViewerPS3::flip_screen(uint32_t *old) | 80 ViewerPS3::flip_screen(uint32_t *old) |
81 { | 81 { |
82 // At the vsync, the previous frame is finished sending to the CRT | 82 // At the vsync, the previous frame is finished sending to the CRT |
83 cp_fb_wait_vsync( &fb ); | 83 // cp_fb_wait_vsync( &fb ); |
84 | 84 |
85 // Send the frame just drawn to the CRT by the next vblank | 85 // Send the frame just drawn to the CRT by the next vblank |
86 cp_fb_flip( &fb, frame_ndx ); | 86 cp_fb_flip( &fb, frame_ndx ); |
87 | 87 |
88 frame_ndx = frame_ndx ^ 0x01; | 88 frame_ndx = frame_ndx ^ 0x01; |