projects
/
mesa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
st/mesa: query shader CAPs for tessellation
[mesa.git]
/
src
/
mesa
/
state_tracker
/
st_cb_drawtex.h
diff --git
a/src/mesa/state_tracker/st_cb_drawtex.h
b/src/mesa/state_tracker/st_cb_drawtex.h
index a3f54a349ccb49092aa68a8da655376ebaa7e4e4..e849646a7cbaad686544ce4f5a93b72cc159ac7b 100644
(file)
--- a/
src/mesa/state_tracker/st_cb_drawtex.h
+++ b/
src/mesa/state_tracker/st_cb_drawtex.h
@@
-1,6
+1,6
@@
/**************************************************************************
*
/**************************************************************************
*
- * Copyright 2008
Tungsten Graphics, Inc., Cedar Park, Texas
.
+ * Copyright 2008
VMware, Inc
.
* All Rights Reserved.
*
**************************************************************************/
* All Rights Reserved.
*
**************************************************************************/
@@
-10,9
+10,10
@@
#define ST_CB_DRAWTEX_H
#define ST_CB_DRAWTEX_H
-#include "main/
mtypes
.h"
+#include "main/
compiler
.h"
-#if FEATURE_OES_draw_texture
+struct dd_function_table;
+struct st_context;
extern void
st_init_drawtex_functions(struct dd_function_table *functions);
extern void
st_init_drawtex_functions(struct dd_function_table *functions);
@@
-20,18
+21,4
@@
st_init_drawtex_functions(struct dd_function_table *functions);
extern void
st_destroy_drawtex(struct st_context *st);
extern void
st_destroy_drawtex(struct st_context *st);
-#else
-
-static INLINE void
-st_init_drawtex_functions(struct dd_function_table *functions)
-{
-}
-
-static INLINE void
-st_destroy_drawtex(struct st_context *st)
-{
-}
-
-#endif /* FEATURE_OES_draw_texture */
-
#endif /* ST_CB_DRAWTEX_H */
#endif /* ST_CB_DRAWTEX_H */