Oops, fix compile error

This commit is contained in:
rdb 2014-04-05 21:47:54 +00:00
parent 4b1c4ff3c8
commit 5abc6aa2fc
1 changed files with 0 additions and 1 deletions

View File

@ -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;