just disable alpha buffer to make it more portable as
many hardware doesn't have a true alpha plane ! git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3359 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -220,7 +220,7 @@ bool wxGLCanvas::Create( wxWindow *parent,
|
||||
GLX_RED_SIZE, 1,
|
||||
GLX_GREEN_SIZE, 1,
|
||||
GLX_BLUE_SIZE, 1,
|
||||
GLX_ALPHA_SIZE, 1,
|
||||
GLX_ALPHA_SIZE, 0,
|
||||
None };
|
||||
attribList = (int*) data;
|
||||
}
|
||||
|
Reference in New Issue
Block a user