use textures in the shared context to test how this works when using multiple windows with the same context
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45479 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -24,12 +24,8 @@ public:
|
||||
void DrawRotatedCube(float xangle, float yangle);
|
||||
|
||||
private:
|
||||
// one-time OpenGL initialization, safe to call many times
|
||||
void Init();
|
||||
|
||||
|
||||
// the list of commands to draw the cube
|
||||
GLuint m_gllist;
|
||||
// textures for the cube faces
|
||||
GLuint m_textures[6];
|
||||
};
|
||||
|
||||
// Define a new application type
|
||||
|
Reference in New Issue
Block a user