Subversion Repositories Kolibri OS

Rev

Go to most recent revision | Blame | Last modification | View Log | Download | RSS feed

  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.  
  15. struct dd_function_table;
  16. struct st_context;
  17.  
  18. #if FEATURE_OES_draw_texture
  19.  
  20. extern void
  21. st_init_drawtex_functions(struct dd_function_table *functions);
  22.  
  23. extern void
  24. st_destroy_drawtex(struct st_context *st);
  25.  
  26. #else
  27.  
  28. static INLINE void
  29. st_init_drawtex_functions(struct dd_function_table *functions)
  30. {
  31. }
  32.  
  33. static INLINE void
  34. st_destroy_drawtex(struct st_context *st)
  35. {
  36. }
  37.  
  38. #endif /* FEATURE_OES_draw_texture */
  39.  
  40. #endif /* ST_CB_DRAWTEX_H */
  41.