use new RenderTarget construct function.
This commit is contained in:
parent
a28e7c3eca
commit
7e2a7bf702
@ -53,7 +53,7 @@ RenderTarget *Device::CreateRenderTarget( const uint w,const uint h,
|
||||
|
||||
if(cb)
|
||||
{
|
||||
RenderTarget *rt=new RenderTarget(this,fb,cb,color_texture_list,color_count,depth_texture,fence_count);
|
||||
RenderTarget *rt=new RenderTarget(this,rp,fb,cb,color_texture_list,color_count,depth_texture,fence_count);
|
||||
|
||||
color_texture_list.DiscardObject();
|
||||
return rt;
|
||||
|
Loading…
x
Reference in New Issue
Block a user