projects
/
mesa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
st/mesa: remove pointless assertion
[mesa.git]
/
src
/
mesa
/
state_tracker
/
st_atom_texture.c
diff --git
a/src/mesa/state_tracker/st_atom_texture.c
b/src/mesa/state_tracker/st_atom_texture.c
index 18ffc08c6b129f5fe2f141412adafd0332d65989..4d4f97da7ed37b87717ca854cb5bfc9bf925de47 100644
(file)
--- a/
src/mesa/state_tracker/st_atom_texture.c
+++ b/
src/mesa/state_tracker/st_atom_texture.c
@@
-37,7
+37,6
@@
#include "st_texture.h"
#include "st_cb_texture.h"
#include "pipe/p_context.h"
#include "st_texture.h"
#include "st_cb_texture.h"
#include "pipe/p_context.h"
-#include "pipe/p_inlines.h"
#include "cso_cache/cso_context.h"
#include "cso_cache/cso_context.h"
@@
-53,7
+52,7
@@
update_textures(struct st_context *st)
st->state.num_textures = 0;
/* loop over sampler units (aka tex image units) */
st->state.num_textures = 0;
/* loop over sampler units (aka tex image units) */
- for (su = 0; su < st->ctx->Const.MaxTexture
Coord
Units; su++) {
+ for (su = 0; su < st->ctx->Const.MaxTexture
Image
Units; su++) {
struct pipe_texture *pt = NULL;
if (samplersUsed & (1 << su)) {
struct pipe_texture *pt = NULL;
if (samplersUsed & (1 << su)) {