增加单色位图处理,接口变化后,app调用调整
This commit is contained in:
parent
609655ae5c
commit
9f2a6dfff8
|
@ -2710,7 +2710,7 @@ void MainWindow::on_act_imageEdit_triggered()
|
|||
info.origin = HGBASE_IMGORIGIN_TOP;
|
||||
|
||||
HGImage img = nullptr;
|
||||
HGBase_CreateImageWithData((HGByte *)image.bits(), &info, nullptr, &img);
|
||||
HGBase_CreateImageWithData((HGByte *)image.bits(), &info, &img);
|
||||
if (nullptr != img)
|
||||
{
|
||||
m_view->addImage(img);
|
||||
|
|
Loading…
Reference in New Issue