You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
EndTextureMode restores the framebuffer size by setting it to itself, which changes nothing. This causes problems when trying to use a RenderTexture of a different size than the window.
To Reproduce
Create a render texture with a different size than the window, then try to call GetScreenWidth/Height after using it and calling EndTextureMode and get the wrong values.
Expected behavior
The size is restored correctly (using a stack or similar)
Describe the bug
EndTextureMode restores the framebuffer size by setting it to itself, which changes nothing. This causes problems when trying to use a RenderTexture of a different size than the window.
To Reproduce
Create a render texture with a different size than the window, then try to call GetScreenWidth/Height after using it and calling EndTextureMode and get the wrong values.
Expected behavior
The size is restored correctly (using a stack or similar)
The issue is here
The text was updated successfully, but these errors were encountered: