ports/devel/kyra/files/patch-engine_imagetree.h
Piotr Kubaj 0aa4d822f2 devel/kyra: fix build on non-x86
Fun fact: for some reason base GCC on 12.2-RELEASE on powerpc64 can build this
port without this patch even though __GNUC__ is defined.
2021-10-25 23:28:49 +00:00

11 lines
568 B
C++

--- engine/imagetree.h.orig 2005-03-31 01:02:38 UTC
+++ engine/imagetree.h
@@ -190,7 +190,7 @@ class KrImageTree
void Clear( KrImNode* root ); // delete the entire tree
// Recursive hit test walk.
- bool KrImageTree::HitTestRec( KrImNode* node, int x, int y, int flags, std::vector<KrImage*>* outputArray, int windowIndex );
+ bool HitTestRec( KrImNode* node, int x, int y, int flags, std::vector<KrImage*>* outputArray, int windowIndex );
KrImNode* root; // The root to position the window
KrImNode* offsetRoot; // The root as returned to the client