remove __debugbreak
This commit is contained in:
@@ -2299,8 +2299,6 @@ void Canvas::draw_objects(std::function<void(const glm::mat4& camera, const glm:
|
||||
// save image before commit
|
||||
glm::vec2 box_sz = zw(bounds) - xy(bounds);
|
||||
bool has_data = box_sz.x > 0 && box_sz.y > 0;
|
||||
if (box_sz.x > layer.w || box_sz.y > layer.h)
|
||||
__debugbreak();
|
||||
if (has_data)
|
||||
{
|
||||
action->m_image[i] = std::make_unique<uint8_t[]>(box_sz.x * box_sz.y * 4);
|
||||
|
||||
Reference in New Issue
Block a user