aboutsummaryrefslogtreecommitdiff
path: root/source/Irrlicht/CGUIContextMenu.cpp
diff options
context:
space:
mode:
authorcutealien <cutealien@dfc29bdd-3216-0410-991c-e03cc46cb475>2020-06-12 20:41:49 +0000
committercutealien <cutealien@dfc29bdd-3216-0410-991c-e03cc46cb475>2020-06-12 20:41:49 +0000
commit20b3d56987ca7b7a9d7f27b0a32a93f12e8dc530 (patch)
tree5fd7cc45a44c46b1134788ed90ffb70398179f4d /source/Irrlicht/CGUIContextMenu.cpp
parent084e0e669a8d9c6a373ff3bcb410febca4d4a48a (diff)
downloadirrlicht-20b3d56987ca7b7a9d7f27b0a32a93f12e8dc530.tar.xz
Merging r6075 through r6106 from trunk to ogl-es branch.
Burnings renderer changes. git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/branches/ogl-es@6116 dfc29bdd-3216-0410-991c-e03cc46cb475
Diffstat (limited to 'source/Irrlicht/CGUIContextMenu.cpp')
-rw-r--r--source/Irrlicht/CGUIContextMenu.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/source/Irrlicht/CGUIContextMenu.cpp b/source/Irrlicht/CGUIContextMenu.cpp
index c28d30a..3a6484b 100644
--- a/source/Irrlicht/CGUIContextMenu.cpp
+++ b/source/Irrlicht/CGUIContextMenu.cpp
@@ -88,6 +88,7 @@ u32 CGUIContextMenu::insertItem(u32 idx, const wchar_t* text, s32 commandId, boo
s.IsSeparator = (text == 0);
s.SubMenu = 0;
s.CommandId = commandId;
+ s.PosY = 0;
if (hasSubMenu)
{