Removed fgPlatformGlutLayerGet to match other ports (thanks Diederick)
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1185 7f0cb862-5218-0410-a997-914c9d46530a
This commit is contained in:
parent
70046e0145
commit
b42288155e
@ -62,48 +62,3 @@ int fgPlatformGlutGet ( GLenum eWhat )
|
|||||||
}
|
}
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
|
|
||||||
int fgPlatformGlutLayerGet( GLenum eWhat )
|
|
||||||
{
|
|
||||||
fprintf(stderr, "fgPlatformGlutLayerGet: STUB\n");
|
|
||||||
|
|
||||||
/*
|
|
||||||
* This is easy as layers are not implemented ;-)
|
|
||||||
*
|
|
||||||
* XXX Can we merge the UNIX/X11 and WIN32 sections? Or
|
|
||||||
* XXX is overlay support planned?
|
|
||||||
*/
|
|
||||||
switch( eWhat )
|
|
||||||
{
|
|
||||||
case GLUT_OVERLAY_POSSIBLE:
|
|
||||||
return 0;
|
|
||||||
|
|
||||||
case GLUT_LAYER_IN_USE:
|
|
||||||
return GLUT_NORMAL;
|
|
||||||
|
|
||||||
case GLUT_HAS_OVERLAY:
|
|
||||||
return 0;
|
|
||||||
|
|
||||||
case GLUT_TRANSPARENT_INDEX:
|
|
||||||
/*
|
|
||||||
* Return just anything, which is always defined as zero
|
|
||||||
*
|
|
||||||
* XXX HUH?
|
|
||||||
*/
|
|
||||||
return 0;
|
|
||||||
|
|
||||||
case GLUT_NORMAL_DAMAGED:
|
|
||||||
/* XXX Actually I do not know. Maybe. */
|
|
||||||
return 0;
|
|
||||||
|
|
||||||
case GLUT_OVERLAY_DAMAGED:
|
|
||||||
return -1;
|
|
||||||
|
|
||||||
default:
|
|
||||||
fgWarning( "glutLayerGet(): missing enum handle %d", eWhat );
|
|
||||||
break;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* And fail. That's good. Programs do love failing. */
|
|
||||||
return -1;
|
|
||||||
}
|
|
||||||
|
Reference in New Issue
Block a user