mirror of
https://github.com/VincentWei/MiniGUI.git
synced 2026-10-02 18:22:55 +08:00
tune code for change of GAL_CreateSurfaceForZNode
This commit is contained in:
+2
-1
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user