mirror of
https://github.com/panda3d/panda3d.git
synced 2025-09-29 00:06:44 -04:00
parent
5493a0d5fc
commit
3fc579c7d4
@ -89,6 +89,15 @@ end_frame(FrameMode mode, Thread *current_thread) {
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
*
|
||||
*/
|
||||
void TinyGraphicsBuffer::
|
||||
set_size(int x, int y) {
|
||||
GraphicsBuffer::set_size(x, y);
|
||||
create_frame_buffer();
|
||||
}
|
||||
|
||||
/**
|
||||
* Closes the buffer right now. Called from the buffer thread.
|
||||
*/
|
||||
|
@ -35,6 +35,8 @@ public:
|
||||
virtual bool begin_frame(FrameMode mode, Thread *current_thread);
|
||||
virtual void end_frame(FrameMode mode, Thread *current_thread);
|
||||
|
||||
virtual void set_size(int x, int y);
|
||||
|
||||
INLINE ZBuffer *get_frame_buffer();
|
||||
|
||||
protected:
|
||||
|
Loading…
x
Reference in New Issue
Block a user