summaryrefslogtreecommitdiffstats
path: root/src/mesa
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2016-10-14 09:18:18 -0600
committerBrian Paul <[email protected]>2016-10-20 09:47:21 -0600
commit8320bf1a7e6b41550a8f5160d9d74f628aa9d82f (patch)
tree2501afb6c0df6dd2ec57e16ecaa0d61e46878a89 /src/mesa
parent1098e6957c2e740afc2a471223aae2fec46a2582 (diff)
vbo: minor clean-up in vbo_exec_api.c
Reviewed-by: Charmaine Lee <[email protected]>
Diffstat (limited to 'src/mesa')
-rw-r--r--src/mesa/vbo/vbo_exec_api.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/src/mesa/vbo/vbo_exec_api.c b/src/mesa/vbo/vbo_exec_api.c
index b191a94c8c3..895f19745c8 100644
--- a/src/mesa/vbo/vbo_exec_api.c
+++ b/src/mesa/vbo/vbo_exec_api.c
@@ -48,11 +48,6 @@ USE OR OTHER DEALINGS IN THE SOFTWARE.
#include "vbo_noop.h"
-#ifdef ERROR
-#undef ERROR
-#endif
-
-
/** ID/name for immediate-mode VBO */
#define IMM_BUFFER_NAME 0xaabbccdd
@@ -514,6 +509,8 @@ do { \
} \
} while (0)
+
+#undef ERROR
#define ERROR(err) _mesa_error( ctx, err, __func__ )
#define TAG(x) vbo_##x