blob: 2a8a153da8dcfe156a539cf2137225a99f98007e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
|
#ifndef InterfaceGraphic_X11Header
# define InterfaceGraphic_X11Header
/*
Copyright (C) 1991,1992,1993 by
MATRA DATAVISION, FRANCE
This software is furnished in accordance with the terms and conditions
of the contract and with the inclusion of the above copyright notice.
This software or any other copy thereof may not be provided or otherwise
be made available to any other person. No title to an ownership of the
software is hereby transferred.
At the termination of the contract, the software and all copies of this
software must be deleted.
Facility : CAS-CADE V1
*/
# ifndef WNT
# include <stdio.h>
# include <X11/Xlib.h>
# include <X11/Xutil.h>
# include <X11/Xatom.h>
# include <GL/glx.h>
# define WINDOW Window
# define DISPLAY Display
# define GLCONTEXT GLXContext
# define GLDRAWABLE GLXDrawable
# define GET_GL_CONTEXT() glXGetCurrentContext()
# define GET_GLDEV_CONTEXT() glXGetCurrentDrawable()
# define GL_MAKE_CURRENT(a,b,c) glXMakeCurrent(a,b,c)
# ifndef EXPORT
# define EXPORT
# endif /* EXPORT */
# endif /* WNT */
#endif /* InterfaceGraphic_X11Header */
|