projects
/
mesa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
mesa: Move is_power_of_two() function from brw_context.h to macros.h.
[mesa.git]
/
src
/
mesa
/
swrast
/
s_texcombine.c
diff --git
a/src/mesa/swrast/s_texcombine.c
b/src/mesa/swrast/s_texcombine.c
index 297491ed5b27a605bc5690bfe26d58d90046381f..32d7c094447dbf0f939ff5c431084014e8fbaf45 100644
(file)
--- a/
src/mesa/swrast/s_texcombine.c
+++ b/
src/mesa/swrast/s_texcombine.c
@@
-619,7
+619,7
@@
_swrast_texture_span( struct gl_context *ctx, SWspan *span )
* thread.
*/
swrast->TexelBuffer =
* thread.
*/
swrast->TexelBuffer =
- malloc(ctx->Const.
FragmentProgram
.MaxTextureImageUnits * maxThreads *
+ malloc(ctx->Const.
Program[MESA_SHADER_FRAGMENT]
.MaxTextureImageUnits * maxThreads *
SWRAST_MAX_WIDTH * 4 * sizeof(GLfloat));
#ifdef _OPENMP
} /* critical section */
SWRAST_MAX_WIDTH * 4 * sizeof(GLfloat));
#ifdef _OPENMP
} /* critical section */