mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-02 09:52:27 -04:00
fix typo
This commit is contained in:
parent
429fbba758
commit
ece85bc470
@ -48,7 +48,7 @@ throw_new_frame() {
|
|||||||
void
|
void
|
||||||
take_snapshot(GraphicsWindow *win, const string &name) {
|
take_snapshot(GraphicsWindow *win, const string &name) {
|
||||||
GraphicsStateGuardian* gsg = win->get_gsg();
|
GraphicsStateGuardian* gsg = win->get_gsg();
|
||||||
const RenderBuffer& rb = gsg->get_render_buffer(RenderBuffer::T_front);
|
RenderBuffer rb = gsg->get_render_buffer(RenderBuffer::T_front);
|
||||||
|
|
||||||
CPT(DisplayRegion) dr = win->get_display_region(0);
|
CPT(DisplayRegion) dr = win->get_display_region(0);
|
||||||
nassertv(dr != (DisplayRegion *)NULL);
|
nassertv(dr != (DisplayRegion *)NULL);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user