Fixed memory leak
This commit is contained in:
parent
420d8f6acf
commit
3279e9a5f5
@ -45,7 +45,7 @@ bool wxOsgApp::OnInit()
|
||||
// create osg canvas
|
||||
// - initialize
|
||||
|
||||
int *attributes = new int[7];
|
||||
int attributes[7];
|
||||
attributes[0] = int(WX_GL_DOUBLEBUFFER);
|
||||
attributes[1] = WX_GL_RGBA;
|
||||
attributes[2] = WX_GL_DEPTH_SIZE;
|
||||
|
Loading…
Reference in New Issue
Block a user