Add comment that createScreenShot only supports ERT_FRAME_BUFFER

Thanks @Eduuu for bringing this to attention


git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@6444 dfc29bdd-3216-0410-991c-e03cc46cb475
This commit is contained in:
cutealien 2022-11-29 21:38:35 +00:00
parent 817d59f379
commit cfa42b743c

View File

@ -1429,7 +1429,9 @@ namespace video
}
//! Make a screenshot of the last rendered frame.
/** \return An image created from the last rendered frame. */
/**
\param target All current drivers only support ERT_FRAME_BUFFER
\return An image created from the last rendered frame. */
virtual IImage* createScreenShot(video::ECOLOR_FORMAT format=video::ECF_UNKNOWN, video::E_RENDER_TARGET target=video::ERT_FRAME_BUFFER) =0;
//! Check if the image is already loaded.