surface_copy_part(selectedData, 0, 0, surf_canvas, _x1, _y1, abs(rect_w), abs(rect_h));
surface_set_target(surf_canvas);
gpu_set_blendmode(bm_subtract);
draw_rectangle(_x1, _y1, _x2, _y2, false);
gpu_set_blendmode(bm_normal);
surface_reset_target();
So why does this code leave me with blank graphics in selectedData if there is no breakpoints but if there is a breakpoint then it has no problem copying over and behaves exactly how I want it to?
surface_set_target(surf_canvas);
gpu_set_blendmode(bm_subtract);
draw_rectangle(_x1, _y1, _x2, _y2, false);
gpu_set_blendmode(bm_normal);
surface_reset_target();
So why does this code leave me with blank graphics in selectedData if there is no breakpoints but if there is a breakpoint then it has no problem copying over and behaves exactly how I want it to?