mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-01 09:23:03 -04:00
remove GraphicsChannel and GraphicsLayer
This commit is contained in:
parent
bef7f8e270
commit
666dd76fed
@ -128,9 +128,8 @@ end_frame() {
|
||||
// supports that right now).
|
||||
nassertv(has_texture());
|
||||
|
||||
DisplayRegion dr(this, _x_size, _y_size);
|
||||
RenderBuffer buffer = _gsg->get_render_buffer(get_draw_buffer_type());
|
||||
_gsg->copy_texture(get_texture(), &dr, buffer);
|
||||
_gsg->copy_texture(get_texture(), _default_display_region, buffer);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user