williamr@4: /* williamr@4: * Copyright (c) 2008-2009 Nokia Corporation and/or its subsidiary(-ies). williamr@4: * All rights reserved. williamr@4: * This component and the accompanying materials are made available williamr@4: * under the terms of "Eclipse Public License v1.0" williamr@4: * which accompanies this distribution, and is available williamr@4: * at the URL "http://www.eclipse.org/legal/epl-v10.html". williamr@4: * williamr@4: * Initial Contributors: williamr@4: * Nokia Corporation - initial contribution. williamr@4: * williamr@4: * Contributors: williamr@4: * williamr@4: * Description: williamr@4: * williamr@4: */ williamr@4: williamr@4: williamr@4: williamr@4: #ifndef __GL2EXTPLATFORM_H__ williamr@4: #define __GL2EXTPLATFORM_H__ williamr@4: williamr@4: /* williamr@4: * The purpose of this header file is to allow a platform to control which williamr@4: * gl2ext.h extensions are seen, in order to enforce source-level backwards williamr@4: * compatiblity. williamr@4: * Consider the example of disabling GL_DEPTH_COMPONENT24_OES. From gl2ext.h williamr@4: * we see this is guarded by the define GL_OES_depth24. You need to define williamr@4: * GL_OES_depth24 in this file in order to disable this extension from being williamr@4: * seen by programs compiled against gl2.h and gl2ext.h headers. williamr@4: */ williamr@4: williamr@4: /** williamr@4: @publishedAll williamr@4: @released williamr@4: */ williamr@4: williamr@4: #ifdef __cplusplus williamr@4: extern "C" { williamr@4: #endif williamr@4: williamr@4: /* Place #define statements as needed below to disable gl2ext.h extensions */ williamr@4: williamr@4: #ifdef __cplusplus williamr@4: } williamr@4: #endif williamr@4: williamr@4: #endif