This commit is contained in:
David Rose 2008-08-08 22:21:37 +00:00
parent ba38195f19
commit 53df81cafa
2 changed files with 0 additions and 25 deletions

View File

@ -46,7 +46,6 @@ public:
virtual bool begin_frame(FrameMode mode, Thread *current_thread); virtual bool begin_frame(FrameMode mode, Thread *current_thread);
virtual void end_frame(FrameMode mode, Thread *current_thread); virtual void end_frame(FrameMode mode, Thread *current_thread);
virtual void begin_flip(); virtual void begin_flip();
virtual void end_flip();
virtual void process_events(); virtual void process_events();
virtual bool supports_pixel_zoom() const; virtual bool supports_pixel_zoom() const;

View File

@ -677,25 +677,6 @@ void TinyOsxGraphicsWindow::end_frame(FrameMode mode, Thread *current_thread)
{ {
end_frame_spam(mode); end_frame_spam(mode);
if(mode == FM_render )
{
nassertv(_gsg != (GraphicsStateGuardian *)NULL);
/*
if (!_properties.get_fixed_size() &&
!_properties.get_undecorated() &&
!_properties.get_fullscreen() &&
show_resize_box) {
// Draw a kludgey little resize box in the corner of the window,
// so the user knows he's supposed to be able to drag the window
// if he wants.
DisplayRegionPipelineReader dr_reader(_default_display_region, current_thread);
_gsg->prepare_display_region(&dr_reader, Lens::SC_mono);
DCAST(TinyGraphicsStateGuardian, _gsg)->draw_resize_box();
}
*/
}
_gsg->end_frame(current_thread); _gsg->end_frame(current_thread);
if (mode == FM_render) { if (mode == FM_render) {
@ -721,11 +702,6 @@ void TinyOsxGraphicsWindow::end_frame(FrameMode mode, Thread *current_thread)
// end_flip(), to make it easier to flip all of the // end_flip(), to make it easier to flip all of the
// windows at the same time. // windows at the same time.
//////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////
void TinyOsxGraphicsWindow::end_flip()
{
// cerr << " end_flip [" << _ID << "]\n";
}
void TinyOsxGraphicsWindow::begin_flip() void TinyOsxGraphicsWindow::begin_flip()
{ {
if (_osx_window == NULL) { if (_osx_window == NULL) {