diff options
author | Brian Paul <[email protected]> | 2011-04-05 19:02:07 -0600 |
---|---|---|
committer | Brian Paul <[email protected]> | 2011-04-05 19:02:09 -0600 |
commit | 874a2c0b7da62f4dd08dedcec221f55b22e40e95 (patch) | |
tree | ea9f5132853bac739c6808efa99e799cbcb31dbf /src/mesa/program | |
parent | 9a77e285e8d015328278fcd0a110e662dba2e744 (diff) |
mesa: core support for GL_ARB_texture_buffer_object
No GLSL or driver support yet.
Diffstat (limited to 'src/mesa/program')
-rw-r--r-- | src/mesa/program/program.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mesa/program/program.c b/src/mesa/program/program.c index 79034ab26f2..5b014872ed4 100644 --- a/src/mesa/program/program.c +++ b/src/mesa/program/program.c @@ -75,10 +75,10 @@ _mesa_init_program(struct gl_context *ctx) ASSERT(ctx->Const.FragmentProgram.MaxAddressOffset <= (1 << INST_INDEX_BITS)); /* If this fails, increase prog_instruction::TexSrcUnit size */ - ASSERT(MAX_TEXTURE_UNITS < (1 << 5)); + ASSERT(MAX_TEXTURE_UNITS <= (1 << 5)); /* If this fails, increase prog_instruction::TexSrcTarget size */ - ASSERT(NUM_TEXTURE_TARGETS < (1 << 3)); + ASSERT(NUM_TEXTURE_TARGETS <= (1 << 3)); ctx->Program.ErrorPos = -1; ctx->Program.ErrorString = _mesa_strdup(""); |