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

@ -532,7 +532,8 @@ namespace video
possible to render into a texture between the
IVideoDriver::beginScene() and endScene() method calls. If you need the
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 clearColor The clear color for the color buffer.
\param clearDepth The clear value for the depth buffer.
@ -562,9 +563,8 @@ namespace video
possible to render into a texture between the
IVideoDriver::beginScene() and endScene() method calls.
\param texture New render target. Must be a texture created with
IVideoDriver::addRenderTargetTexture(). If set to 0, it sets
the previous render target which was set before the last
setRenderTarget() call.
IVideoDriver::addRenderTargetTexture(). 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 clearColor The clear color for the color buffer.
\param clearDepth The clear value for the depth buffer.