equal
deleted
inserted
replaced
|
1 /* |
|
2 * Copyright (c) 2008-2009 Nokia Corporation and/or its subsidiary(-ies). |
|
3 * All rights reserved. |
|
4 * This component and the accompanying materials are made available |
|
5 * under the terms of "Eclipse Public License v1.0" |
|
6 * which accompanies this distribution, and is available |
|
7 * at the URL "http://www.eclipse.org/legal/epl-v10.html". |
|
8 * |
|
9 * Initial Contributors: |
|
10 * Nokia Corporation - initial contribution. |
|
11 * |
|
12 * Contributors: |
|
13 * |
|
14 * Description: |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 |
|
20 #ifndef __GL2EXTPLATFORM_H__ |
|
21 #define __GL2EXTPLATFORM_H__ |
|
22 |
|
23 /* |
|
24 * The purpose of this header file is to allow a platform to control which |
|
25 * gl2ext.h extensions are seen, in order to enforce source-level backwards |
|
26 * compatiblity. |
|
27 * Consider the example of disabling GL_DEPTH_COMPONENT24_OES. From gl2ext.h |
|
28 * we see this is guarded by the define GL_OES_depth24. You need to define |
|
29 * GL_OES_depth24 in this file in order to disable this extension from being |
|
30 * seen by programs compiled against gl2.h and gl2ext.h headers. |
|
31 */ |
|
32 |
|
33 /** |
|
34 @publishedAll |
|
35 @released |
|
36 */ |
|
37 |
|
38 #ifdef __cplusplus |
|
39 extern "C" { |
|
40 #endif |
|
41 |
|
42 /* Place #define statements as needed below to disable gl2ext.h extensions */ |
|
43 |
|
44 #ifdef __cplusplus |
|
45 } |
|
46 #endif |
|
47 |
|
48 #endif |