Update the texture from the contents of a window
*
Although the source window can be smaller than the texture, this function
is usually used for updating the whole texture. The other overload, which
has (x, y) additional arguments, is more convenient for updating a
sub-area of the texture.
*
No additional check is performed on the size of the window, passing a
window bigger than the texture will lead to an undefined behavior.
*
This function does nothing if either the texture or the window
was not previously created.
*
Update the texture from the contents of a window * Although the source window can be smaller than the texture, this function is usually used for updating the whole texture. The other overload, which has (x, y) additional arguments, is more convenient for updating a sub-area of the texture. * No additional check is performed on the size of the window, passing a window bigger than the texture will lead to an undefined behavior. * This function does nothing if either the texture or the window was not previously created. *