Skip to content

Commit

Permalink
HW: Add context pointer to instance.
Browse files Browse the repository at this point in the history
  • Loading branch information
CrossVR committed Nov 24, 2015
1 parent 13d875c commit ada231a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/Layers/xrRender/HW.h
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ class CHW
#if defined(USE_OGL)
public:
CHW* pDevice;
CHW* pContext;
GLuint pBaseRT;
GLuint pBaseZB;
GLuint pFB;
Expand Down
1 change: 1 addition & 0 deletions src/Layers/xrRenderGL/glHW.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ CHW::CHW() :
m_hDC(NULL),
m_hRC(NULL),
pDevice(this),
pContext(this),
m_move_window(true),
pBaseRT(0),
pBaseZB(0),
Expand Down

0 comments on commit ada231a

Please sign in to comment.