Mesa (master): vbo: minor clean-up in vbo_exec_api.c
Brian Paul
brianp at kemper.freedesktop.org
Thu Oct 20 15:49:49 UTC 2016
Module: Mesa
Branch: master
Commit: 8320bf1a7e6b41550a8f5160d9d74f628aa9d82f
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=8320bf1a7e6b41550a8f5160d9d74f628aa9d82f
Author: Brian Paul <brianp at vmware.com>
Date: Fri Oct 14 09:18:18 2016 -0600
vbo: minor clean-up in vbo_exec_api.c
Reviewed-by: Charmaine Lee <charmainel at vmware.com>
---
src/mesa/vbo/vbo_exec_api.c | 7 ++-----
1 file changed, 2 insertions(+), 5 deletions(-)
diff --git a/src/mesa/vbo/vbo_exec_api.c b/src/mesa/vbo/vbo_exec_api.c
index b191a94..895f197 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
More information about the mesa-commit
mailing list