1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
1.2 +++ b/epoc32/include/GLES2/gl2extplatform.h Wed Mar 31 12:33:34 2010 +0100
1.3 @@ -0,0 +1,48 @@
1.4 +/*
1.5 +* Copyright (c) 2008-2009 Nokia Corporation and/or its subsidiary(-ies).
1.6 +* All rights reserved.
1.7 +* This component and the accompanying materials are made available
1.8 +* under the terms of "Eclipse Public License v1.0"
1.9 +* which accompanies this distribution, and is available
1.10 +* at the URL "http://www.eclipse.org/legal/epl-v10.html".
1.11 +*
1.12 +* Initial Contributors:
1.13 +* Nokia Corporation - initial contribution.
1.14 +*
1.15 +* Contributors:
1.16 +*
1.17 +* Description:
1.18 +*
1.19 +*/
1.20 +
1.21 +
1.22 +
1.23 +#ifndef __GL2EXTPLATFORM_H__
1.24 +#define __GL2EXTPLATFORM_H__
1.25 +
1.26 +/*
1.27 + * The purpose of this header file is to allow a platform to control which
1.28 + * gl2ext.h extensions are seen, in order to enforce source-level backwards
1.29 + * compatiblity.
1.30 + * Consider the example of disabling GL_DEPTH_COMPONENT24_OES. From gl2ext.h
1.31 + * we see this is guarded by the define GL_OES_depth24. You need to define
1.32 + * GL_OES_depth24 in this file in order to disable this extension from being
1.33 + * seen by programs compiled against gl2.h and gl2ext.h headers.
1.34 + */
1.35 +
1.36 +/**
1.37 +@publishedAll
1.38 +@released
1.39 +*/
1.40 +
1.41 +#ifdef __cplusplus
1.42 +extern "C" {
1.43 +#endif
1.44 +
1.45 +/* Place #define statements as needed below to disable gl2ext.h extensions */
1.46 +
1.47 +#ifdef __cplusplus
1.48 +}
1.49 +#endif
1.50 +
1.51 +#endif