diff options
author | Eric Anholt <[email protected]> | 2013-01-17 13:37:03 -0800 |
---|---|---|
committer | Eric Anholt <[email protected]> | 2013-01-21 21:26:47 -0800 |
commit | cb49016622312082a636640488be50bef6b379ed (patch) | |
tree | 4cc28bf2b102fe5e30d96c23cc75655050bb2890 /src/mesa/main/context.h | |
parent | a9754793dab4b24c09cae21c29f902ce0e53319a (diff) |
mesa: Remove two of the now unused ASSERT_OUTSIDE_BEGIN_END macros.
Reviewed-by: Brian Paul <[email protected]>
Reviewed-by: Ian Romanick <[email protected]>
Diffstat (limited to 'src/mesa/main/context.h')
-rw-r--r-- | src/mesa/main/context.h | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/src/mesa/main/context.h b/src/mesa/main/context.h index 063f2a381ec..1b881f3f337 100644 --- a/src/mesa/main/context.h +++ b/src/mesa/main/context.h @@ -262,31 +262,6 @@ do { \ } \ } while (0) -/** - * Macro to assert that the API call was made outside the - * glBegin()/glEnd() pair and flush the vertices. - * - * \param ctx GL context. - */ -#define ASSERT_OUTSIDE_BEGIN_END_AND_FLUSH(ctx) \ -do { \ - ASSERT_OUTSIDE_BEGIN_END(ctx); \ - FLUSH_VERTICES(ctx, 0); \ -} while (0) - -/** - * Macro to assert that the API call was made outside the - * glBegin()/glEnd() pair and flush the vertices, with return value. - * - * \param ctx GL context. - * \param retval value to return in case the assertion fails. - */ -#define ASSERT_OUTSIDE_BEGIN_END_AND_FLUSH_WITH_RETVAL(ctx, retval) \ -do { \ - ASSERT_OUTSIDE_BEGIN_END_WITH_RETVAL(ctx, retval); \ - FLUSH_VERTICES(ctx, 0); \ -} while (0) - /*@}*/ |