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:
Vadim Zeitlin
2007-04-15 15:13:49 +00:00
parent 644cb5372c
commit 378a3872eb
2 changed files with 160 additions and 50 deletions

View File

@@ -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