Check for SYS/GL during library init. Reason is that
[AROS.git] / workbench / libs / gallium / include / gallium.h
blobdb7442150c7914573a8ad611c4e4e0bbc58873fd
1 /*
2 Copyright 2010, The AROS Development Team. All rights reserved.
3 $Id$
4 */
6 #ifndef GALLIUM_GALLIUM_H
7 #define GALLIUM_GALLIUM_H
9 #ifndef P_AROS_VERSION_H
10 # include <gallium/pipe/p_aros_version.h>
11 #endif
13 /* Tags for CreatePipeScreen() function */
14 #define CPS_Dummy (TAG_USER)
15 #define CPS_GalliumInterfaceVersion (CPS_Dummy + 1)
17 /* A special version of CreatePipeScreen function with version embeded in call */
18 #define CreatePipeScreenV(tags) \
19 ({ \
20 struct TagItem cpsvtags [] = \
21 { \
22 { CPS_GalliumInterfaceVersion, GALLIUM_INTERFACE_VERSION }, \
23 { TAG_MORE, (IPTR)tags } \
24 }; \
25 CreatePipeScreen(cpsvtags); \
28 #endif