Fix X86 compilation.
[mesa.git] / src / glut / dos / overlay.c
1 /*
2 * DOS/DJGPP Mesa Utility Toolkit
3 * Version: 1.0
4 *
5 * Copyright (C) 2005 Daniel Borca All Rights Reserved.
6 *
7 * Permission is hereby granted, free of charge, to any person obtaining a
8 * copy of this software and associated documentation files (the "Software"),
9 * to deal in the Software without restriction, including without limitation
10 * the rights to use, copy, modify, merge, publish, distribute, sublicense,
11 * and/or sell copies of the Software, and to permit persons to whom the
12 * Software is furnished to do so, subject to the following conditions:
13 *
14 * The above copyright notice and this permission notice shall be included
15 * in all copies or substantial portions of the Software.
16 *
17 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
18 * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
19 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
20 * DANIEL BORCA BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
21 * IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
22 * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
23 */
24
25
26 #include "internal.h"
27
28
29 int APIENTRY
30 glutLayerGet (GLenum info)
31 {
32 switch (info) {
33 case GLUT_OVERLAY_POSSIBLE:
34 case GLUT_HAS_OVERLAY:
35 return GL_FALSE;
36 case GLUT_LAYER_IN_USE:
37 return GLUT_NORMAL;
38 case GLUT_NORMAL_DAMAGED:
39 return GL_FALSE;
40 case GLUT_OVERLAY_DAMAGED:
41 case GLUT_TRANSPARENT_INDEX:
42 default:
43 return -1;
44 }
45 }
46
47
48 void APIENTRY
49 glutOverlayDisplayFunc (GLUTdisplayCB func)
50 {
51 }
52
53
54 void APIENTRY
55 glutEstablishOverlay (void)
56 {
57 }
58
59
60 void APIENTRY
61 glutRemoveOverlay (void)
62 {
63 }
64
65
66 void APIENTRY
67 glutUseLayer (GLenum layer)
68 {
69 }
70
71
72 void APIENTRY
73 glutPostOverlayRedisplay (void)
74 {
75 }
76
77
78 void APIENTRY
79 glutShowOverlay (void)
80 {
81 }
82
83
84 void APIENTRY
85 glutHideOverlay (void)
86 {
87 }
88
89
90 void APIENTRY
91 glutPostWindowOverlayRedisplay (int win)
92 {
93 }