diff options
author | Brian Paul <brian.paul@tungstengraphics.com> | 2008-08-14 15:38:09 -0600 |
---|---|---|
committer | Brian Paul <brian.paul@tungstengraphics.com> | 2008-08-14 15:44:28 -0600 |
commit | 8f6d9e12be0be086ca2aab0b56dff8d2181addd9 (patch) | |
tree | 5f9b28a792eed3a01d00d1577617c97c40095bfd /src/mesa/state_tracker/st_cb_texture.h | |
parent | 6c46b49d12b33b04546bee137f75ca7649e9a4ef (diff) |
gallium: use a default texture in update_textures(), update_samplers() when needed
The default texture is used when the current fragment shader has texture
sample instructions but the user has not provided/bound a texture.
Diffstat (limited to 'src/mesa/state_tracker/st_cb_texture.h')
-rw-r--r-- | src/mesa/state_tracker/st_cb_texture.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/mesa/state_tracker/st_cb_texture.h b/src/mesa/state_tracker/st_cb_texture.h index 843745fcd6..f1fe0339cd 100644 --- a/src/mesa/state_tracker/st_cb_texture.h +++ b/src/mesa/state_tracker/st_cb_texture.h @@ -37,6 +37,10 @@ st_finalize_texture(GLcontext *ctx, GLboolean *needFlush); +extern struct gl_texture_object * +st_get_default_texture(struct st_context *st); + + extern void st_init_texture_functions(struct dd_function_table *functions); |