Linux platform issues
Closed this issue · 2 comments
Hello. I've been following your tutorial and sadly has encountered a problem. On my system the uninitialized event variable has a exactly a nullptr value and message handling was not working correct.
See:
kohi/engine/src/platform/platform_linux.c
Lines 183 to 189 in cc1955c
Also, it seems like your loop through screens is actually pointless, since it starts from zero and condition s > 0 fails instantly.
See:
kohi/engine/src/platform/platform_linux.c
Line 72 in cc1955c
Sorry if I'm incorrect and thanks in advance for any replies.
First, thank you for this, I appreciate the feedback.
I will look into the first issue and see what's going on. It's possible I missed something there.
As for the second issue, I am aware of it as well, as it was brought up in one of the comments on that video. Screen enumeration wasn't something that was needed - I'd put it in there for demonstration purposes but didn't actually wind up using/testing it, so it'll likely just be removed.
Ok, thanks for your answer!