compilation warning fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12443 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
9d705dfa81
commit
d728116a27
@ -351,11 +351,11 @@ static void AdjustPFDForAttributes(PIXELFORMATDESCRIPTOR& pfd, int *attribList)
|
|||||||
case WX_GL_LEVEL:
|
case WX_GL_LEVEL:
|
||||||
// this member looks like it may be obsolete
|
// this member looks like it may be obsolete
|
||||||
if (attribList[arg] > 0) {
|
if (attribList[arg] > 0) {
|
||||||
pfd.iLayerType = PFD_OVERLAY_PLANE;
|
pfd.iLayerType = (BYTE)PFD_OVERLAY_PLANE;
|
||||||
} else if (attribList[arg] < 0) {
|
} else if (attribList[arg] < 0) {
|
||||||
pfd.iLayerType = PFD_UNDERLAY_PLANE;
|
pfd.iLayerType = (BYTE)PFD_UNDERLAY_PLANE;
|
||||||
} else {
|
} else {
|
||||||
pfd.iLayerType = PFD_MAIN_PLANE;
|
pfd.iLayerType = (BYTE)PFD_MAIN_PLANE;
|
||||||
}
|
}
|
||||||
arg++;
|
arg++;
|
||||||
break;
|
break;
|
||||||
|
Loading…
Reference in New Issue
Block a user