Oops, fix compile error
This commit is contained in:
parent
4b1c4ff3c8
commit
5abc6aa2fc
|
|
@ -1902,7 +1902,6 @@ framebuffer_copy_to_texture(Texture *tex, int view, int z,
|
|||
// must use a render target type texture for StretchRect
|
||||
tex->set_render_to_texture(true);
|
||||
|
||||
int view = dr->get_target_tex_view();
|
||||
TextureContext *tc = tex->prepare_now(view, get_prepared_objects(), this);
|
||||
if (tc == (TextureContext *)NULL) {
|
||||
return false;
|
||||
|
|
|
|||
Loading…
Reference in New Issue