Fix compilation with older sdk

This commit is contained in:
Shinovon 2026-05-01 14:34:05 +05:00
parent 52e1b18729
commit 9adfa881b3
5 changed files with 16 additions and 8 deletions

View file

@ -456,9 +456,12 @@ public:
// CCoeControl::HandlePointerEventL(aPointerEvent);
// return;
// }
#ifdef RW_GL3
const TAdvancedPointerEvent* advpointer = aPointerEvent.AdvancedPointerEvent();
int i = advpointer != NULL ? advpointer->PointerNumber() : 0;
#else
int i = 0;
#endif
static int activeZone[10];
static int stickCenterX[10];