tune code for change of GAL_CreateSurfaceForZNode

This commit is contained in:
Vincent Wei
2020-02-11 18:03:46 +08:00
parent 36fbbdecda
commit 76efcc3d3e
+2 -1
View File
@@ -2180,7 +2180,8 @@ static int create_memdc_for_menu (TRACKMENUINFO* ptmi)
if (IsRectEmpty(&ptmi->rc))
return -1;
surf = GAL_CreateSurfaceForZNode (RECTW(ptmi->rc), RECTH(ptmi->rc));
surf = GAL_CreateSurfaceForZNode (ST_DEFAULT, RECTW(ptmi->rc),
RECTH(ptmi->rc));
if (surf == NULL) {
return -1;
}