use tnl_emit_func, it's safer
[mesa.git] / src / glut / dos / overlay.c
1 /*
2 * Mesa 3-D graphics library
3 * Version: 3.4
4 * Copyright (C) 1995-1998 Brian Paul
5 *
6 * This library is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU Library General Public
8 * License as published by the Free Software Foundation; either
9 * version 2 of the License, or (at your option) any later version.
10 *
11 * This library is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14 * Library General Public License for more details.
15 *
16 * You should have received a copy of the GNU Library General Public
17 * License along with this library; if not, write to the Free
18 * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
19 */
20
21 /*
22 * DOS/DJGPP glut driver v1.3 for Mesa
23 *
24 * Copyright (C) 2002 - Borca Daniel
25 * Email : dborca@yahoo.com
26 * Web : http://www.geocities.com/dborca
27 */
28
29
30 #include "glutint.h"
31
32
33
34 int APIENTRY glutLayerGet (GLenum info)
35 {
36 switch (info) {
37 case GLUT_OVERLAY_POSSIBLE:
38 case GLUT_HAS_OVERLAY:
39 return GL_FALSE;
40 case GLUT_LAYER_IN_USE:
41 return GLUT_NORMAL;
42 case GLUT_NORMAL_DAMAGED:
43 return GL_FALSE;
44 case GLUT_OVERLAY_DAMAGED:
45 case GLUT_TRANSPARENT_INDEX:
46 default:
47 return -1;
48 }
49 }
50
51
52
53 void APIENTRY glutOverlayDisplayFunc (GLUTdisplayCB func)
54 {
55 }
56
57
58
59 void APIENTRY glutEstablishOverlay (void)
60 {
61 }
62
63
64
65 void APIENTRY glutRemoveOverlay (void)
66 {
67 }
68
69
70
71 void APIENTRY glutUseLayer (GLenum layer)
72 {
73 }
74
75
76
77 void APIENTRY glutPostOverlayRedisplay (void)
78 {
79 }
80
81
82
83 void APIENTRY glutShowOverlay (void)
84 {
85 }
86
87
88
89 void APIENTRY glutHideOverlay (void)
90 {
91 }