Fix the elusive crash that happened in anim mode after resizing the image; Thanks to iLKke again.

git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1948 416bcca6-2ee7-4201-b75f-2eb2f807beb1
This commit is contained in:
Yves Rizoud 2012-05-05 23:48:22 +00:00
parent d29bbee941
commit 3684509dc6

View File

@ -932,11 +932,6 @@ int Backup_with_new_dimensions(int width,int height)
} }
else else
{ {
// Clear the depth buffer anyway, because we may use it later
memset(Main_visible_image_depth_buffer.Image, 0,
Main_image_width*Main_image_height);
Update_screen_targets(); Update_screen_targets();
} }
Update_FX_feedback(Config.FX_Feedback); Update_FX_feedback(Config.FX_Feedback);