display: document make_texture_buffer() behavior when size is 0

Fixes panda3d/panda3d-docs#100
This commit is contained in:
rdb 2021-10-26 14:00:25 +02:00
parent 9b55279fde
commit 57d7bc2f53

View File

@ -834,6 +834,9 @@ get_active_display_region(int n) const {
* which will be a texture suitable for applying to geometry within the scene
* rendered into this window.
*
* If you pass zero as the buffer size, the buffer will have the same size as
* the host window, and will automatically be resized when the host window is.
*
* If tex is not NULL, it is the texture that will be set up for rendering
* into; otherwise, a new Texture object will be created. In either case, the
* target texture can be retrieved from the return value with