diff options
author | Campbell Barton <ideasman42@gmail.com> | 2009-06-28 03:54:20 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2009-06-28 03:54:20 +0400 |
commit | aa933d2c9fbffbeccc2f13d69f10120e8bfe55b8 (patch) | |
tree | 48dbf44c5d3bb0372288deb328a85d3f8d3e55e0 /source/gameengine/BlenderRoutines/KX_BlenderCanvas.h | |
parent | 35ac032b55ee0236b4093b932cfca4644b2a3cda (diff) |
BGE Redraw problem:
at the moment only files from blender 2.4x will display in 2.5x, compared area and window structs in both cases and dont see any differences.
This doesnt fix the problem but corrects a few things related to window drawing with the BGE,
also adds a hack because I noticed the window and area pointers in the KX_BlenderCanvas were offset after initialized, maybe need to use <static cast> ?
Diffstat (limited to 'source/gameengine/BlenderRoutines/KX_BlenderCanvas.h')
-rw-r--r-- | source/gameengine/BlenderRoutines/KX_BlenderCanvas.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/gameengine/BlenderRoutines/KX_BlenderCanvas.h b/source/gameengine/BlenderRoutines/KX_BlenderCanvas.h index fd41fb90f2f..41bbec7770c 100644 --- a/source/gameengine/BlenderRoutines/KX_BlenderCanvas.h +++ b/source/gameengine/BlenderRoutines/KX_BlenderCanvas.h @@ -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; }; |