mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-02 01:44:06 -04:00
fix flip
This commit is contained in:
parent
ba38195f19
commit
53df81cafa
@ -46,7 +46,6 @@ public:
|
||||
virtual bool begin_frame(FrameMode mode, Thread *current_thread);
|
||||
virtual void end_frame(FrameMode mode, Thread *current_thread);
|
||||
virtual void begin_flip();
|
||||
virtual void end_flip();
|
||||
virtual void process_events();
|
||||
virtual bool supports_pixel_zoom() const;
|
||||
|
||||
|
@ -676,25 +676,6 @@ bool TinyOsxGraphicsWindow::begin_frame(FrameMode mode, Thread *current_thread)
|
||||
void TinyOsxGraphicsWindow::end_frame(FrameMode mode, Thread *current_thread)
|
||||
{
|
||||
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);
|
||||
|
||||
@ -721,11 +702,6 @@ void TinyOsxGraphicsWindow::end_frame(FrameMode mode, Thread *current_thread)
|
||||
// end_flip(), to make it easier to flip all of the
|
||||
// windows at the same time.
|
||||
////////////////////////////////////////////////////////////////////
|
||||
void TinyOsxGraphicsWindow::end_flip()
|
||||
{
|
||||
// cerr << " end_flip [" << _ID << "]\n";
|
||||
}
|
||||
|
||||
void TinyOsxGraphicsWindow::begin_flip()
|
||||
{
|
||||
if (_osx_window == NULL) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user