removed un-needed hack, something weired was going on when debugging that made the pointers to these functions change after initialization.

This commit is contained in:
2009-06-28 02:47:49 +00:00
parent 388e59a768
commit 7271f86be5
2 changed files with 4 additions and 10 deletions

View File

@@ -34,17 +34,11 @@
#include <config.h>
#endif
// temp hack, prevents pointers being offset somehow, will need to look into this later - Campbell
ARegion *m_ar;
wmWindow *m_win;
KX_BlenderCanvas::KX_BlenderCanvas(struct wmWindow *win, ARegion *ar) :
__m_win(win),
__m_ar(ar)
m_win(win),
m_ar(ar)
{
m_ar= ar;
m_win= win;
}
KX_BlenderCanvas::~KX_BlenderCanvas()

View File

@@ -163,8 +163,8 @@ public:
private:
/** Blender area the game engine is running within */
struct ARegion* __m_ar;
struct wmWindow* __m_win;
struct ARegion* m_ar;
struct wmWindow* m_win;
RAS_Rect m_area_rect;
};