1/************************************************************************** 2 * 3 * Copyright 2008 Tungsten Graphics, Inc., Cedar Park, Texas. 4 * All Rights Reserved. 5 * 6 **************************************************************************/ 7 8 9#ifndef ST_CB_DRAWTEX_H 10#define ST_CB_DRAWTEX_H 11 12 13#include "main/compiler.h" 14#include "main/mfeatures.h" 15 16struct dd_function_table; 17struct st_context; 18 19#if FEATURE_OES_draw_texture 20 21extern void 22st_init_drawtex_functions(struct dd_function_table *functions); 23 24extern void 25st_destroy_drawtex(struct st_context *st); 26 27#else 28 29static INLINE void 30st_init_drawtex_functions(struct dd_function_table *functions) 31{ 32} 33 34static INLINE void 35st_destroy_drawtex(struct st_context *st) 36{ 37} 38 39#endif /* FEATURE_OES_draw_texture */ 40 41#endif /* ST_CB_DRAWTEX_H */ 42