Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix Ogre2RenderTarget::TargetFSAA (#661)
Fix Ogre2RenderTarget::TargetFSAA method that caused black screen when used with llvmpipe (i.e. software rendering on Linux) The Ogre2RenderTarget::TargetFSAA method has a logic to check if the selected antialiasing level is supported. If the requested antialiasing level is not supported, the 0 level is selected instead. Furthermore, a warning is printed only once for process. Before this PR, the 0 level was only set only when the warning was printed, resulting in an unsupported antialiasing being set if Ogre2RenderTarget::TargetFSAA was called two or more times. Signed-off-by: Silvio <[email protected]>
- Loading branch information