Fixed rtts in GLES legacy pipeline
This commit is contained in:
parent
282bb6c655
commit
067518df5d
@ -2653,9 +2653,10 @@ namespace video
|
||||
}
|
||||
|
||||
|
||||
ITexture* COGLES2Driver::addRenderTargetTexture(
|
||||
const core::dimension2d<u32>& size,
|
||||
const io::path& name, const ECOLOR_FORMAT format)
|
||||
ITexture* COGLES2Driver::addRenderTargetTexture(const core::dimension2d<u32>& size,
|
||||
const io::path& name,
|
||||
const ECOLOR_FORMAT format,
|
||||
const bool useStencil)
|
||||
{
|
||||
//disable mip-mapping
|
||||
const bool generateMipLevels = getTextureCreationFlag(ETCF_CREATE_MIP_MAPS);
|
||||
|
@ -317,7 +317,8 @@ namespace video
|
||||
virtual u32 getMaximalPrimitiveCount() const;
|
||||
|
||||
virtual ITexture* addRenderTargetTexture(const core::dimension2d<u32>& size,
|
||||
const io::path& name, const ECOLOR_FORMAT format = ECF_UNKNOWN);
|
||||
const io::path& name, const ECOLOR_FORMAT format = ECF_UNKNOWN,
|
||||
const bool useStencil = false);
|
||||
|
||||
virtual bool setRenderTarget(video::ITexture* texture, bool clearBackBuffer,
|
||||
bool clearZBuffer, SColor color);
|
||||
|
Loading…
x
Reference in New Issue
Block a user