Fix incorrect documentation on `setRenderTarget(Ex)`

This commit is contained in:
Vincent Robinson 2021-06-20 19:36:23 -07:00 committed by sfan5
parent 0500a7798b
commit b43f9b96e0
1 changed files with 8 additions and 8 deletions

View File

@ -532,7 +532,8 @@ namespace video
possible to render into a texture between the possible to render into a texture between the
IVideoDriver::beginScene() and endScene() method calls. If you need the IVideoDriver::beginScene() and endScene() method calls. If you need the
best performance use this method instead of setRenderTarget. best performance use this method instead of setRenderTarget.
\param target Render target object. \param target Render target object. If set to nullptr, it makes the
window the current render target.
\param clearFlag A combination of the E_CLEAR_BUFFER_FLAG bit-flags. \param clearFlag A combination of the E_CLEAR_BUFFER_FLAG bit-flags.
\param clearColor The clear color for the color buffer. \param clearColor The clear color for the color buffer.
\param clearDepth The clear value for the depth buffer. \param clearDepth The clear value for the depth buffer.
@ -562,9 +563,8 @@ namespace video
possible to render into a texture between the possible to render into a texture between the
IVideoDriver::beginScene() and endScene() method calls. IVideoDriver::beginScene() and endScene() method calls.
\param texture New render target. Must be a texture created with \param texture New render target. Must be a texture created with
IVideoDriver::addRenderTargetTexture(). If set to 0, it sets IVideoDriver::addRenderTargetTexture(). If set to nullptr, it makes
the previous render target which was set before the last the window the current render target.
setRenderTarget() call.
\param clearFlag A combination of the E_CLEAR_BUFFER_FLAG bit-flags. \param clearFlag A combination of the E_CLEAR_BUFFER_FLAG bit-flags.
\param clearColor The clear color for the color buffer. \param clearColor The clear color for the color buffer.
\param clearDepth The clear value for the depth buffer. \param clearDepth The clear value for the depth buffer.