summaryrefslogtreecommitdiffstats
path: root/src/glsl/ast.h
diff options
context:
space:
mode:
authorFrancisco Jerez <currojerez@riseup.net>2013-09-20 16:23:30 -0700
committerFrancisco Jerez <currojerez@riseup.net>2013-10-01 17:30:51 -0700
commit58d772cb41b71dd3f5cf2bd4afb5781327ab4495 (patch)
tree4b46197ac9eef996c0c95d834a9912fb1eb9b67e /src/glsl/ast.h
parent8bd1c69f3bc731a53d785aa7b3e8fea05bacef7d (diff)
downloadexternal_mesa3d-58d772cb41b71dd3f5cf2bd4afb5781327ab4495.zip
external_mesa3d-58d772cb41b71dd3f5cf2bd4afb5781327ab4495.tar.gz
external_mesa3d-58d772cb41b71dd3f5cf2bd4afb5781327ab4495.tar.bz2
glsl: Switch ast_type_qualifier to the non-zeroing allocator.
All member variables of ast_type_qualifier are already being initialized from its implicitly defined constructor, it's not necessary to use rzalloc to allocate its memory. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Diffstat (limited to 'src/glsl/ast.h')
-rw-r--r--src/glsl/ast.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/glsl/ast.h b/src/glsl/ast.h
index 320e8dd..97905c6 100644
--- a/src/glsl/ast.h
+++ b/src/glsl/ast.h
@@ -346,7 +346,7 @@ enum {
};
struct ast_type_qualifier {
- DECLARE_RZALLOC_CXX_OPERATORS(ast_type_qualifier);
+ DECLARE_RALLOC_CXX_OPERATORS(ast_type_qualifier);
union {
struct {