diff options
Diffstat (limited to 'src/mesa/drivers/dri/common/glcontextmodes.h')
-rw-r--r-- | src/mesa/drivers/dri/common/glcontextmodes.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/common/glcontextmodes.h b/src/mesa/drivers/dri/common/glcontextmodes.h index 5f8fa4f311..8959e1d4ea 100644 --- a/src/mesa/drivers/dri/common/glcontextmodes.h +++ b/src/mesa/drivers/dri/common/glcontextmodes.h @@ -32,10 +32,13 @@ #include "GL/internal/glcore.h" +#ifndef DRI_NEW_INTERFACE_ONLY extern GLint _gl_convert_from_x_visual_type( int visualType ); extern GLint _gl_convert_to_x_visual_type( int visualType ); extern void _gl_copy_visual_to_context_mode( __GLcontextModes * mode, const __GLXvisualConfig * config ); +#endif /* DRI_NEW_INTERFACE_ONLY */ + extern int _gl_get_context_mode_data( const __GLcontextModes *mode, int attribute, int *value_return ); extern __GLcontextModes * _gl_context_modes_create( unsigned count, |