mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-02 09:52:27 -04:00
bmp is more useful than pnm at the moment
This commit is contained in:
parent
796bd70710
commit
eef1ef930c
@ -563,7 +563,7 @@ void event_grave(CPT_Event) {
|
||||
|
||||
p.copy(gsg, dr, rb);
|
||||
ostringstream s;
|
||||
s << "frame" << ClockObject::get_global_clock()->get_frame_count() << ".pnm";
|
||||
s << "frame" << ClockObject::get_global_clock()->get_frame_count() << ".bmp";
|
||||
Filename filename = s.str();
|
||||
p.write(filename);
|
||||
|
||||
|
@ -583,7 +583,7 @@ void event_grave(CPT_Event) {
|
||||
|
||||
p.copy(gsg, dr, rb);
|
||||
ostringstream s;
|
||||
s << "frame" << ClockObject::get_global_clock()->get_frame_count() << ".pnm";
|
||||
s << "frame" << ClockObject::get_global_clock()->get_frame_count() << ".bmp";
|
||||
Filename filename = s.str();
|
||||
p.write(filename);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user