diff options
author | Brian Paul <[email protected]> | 2008-12-12 10:29:15 -0700 |
---|---|---|
committer | Brian Paul <[email protected]> | 2008-12-12 10:29:15 -0700 |
commit | b4019483dea406e997ae1c6b61b41cc49786c8ce (patch) | |
tree | 1aba0001ed688ccc40ec83a4398f505f2539ea0d /src/mesa/shader/slang | |
parent | 456a4e274ff60122ab7e23dad2d462be3d910599 (diff) |
mesa: use _slang_alloc()
Diffstat (limited to 'src/mesa/shader/slang')
-rw-r--r-- | src/mesa/shader/slang/slang_compile_function.c | 2 | ||||
-rw-r--r-- | src/mesa/shader/slang/slang_typeinfo.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/mesa/shader/slang/slang_compile_function.c b/src/mesa/shader/slang/slang_compile_function.c index ba65be58df6..c460627a417 100644 --- a/src/mesa/shader/slang/slang_compile_function.c +++ b/src/mesa/shader/slang/slang_compile_function.c @@ -70,7 +70,7 @@ slang_function * slang_function_new(slang_function_kind kind) { slang_function *fun = (slang_function *) - _mesa_malloc(sizeof(slang_function)); + _slang_alloc(sizeof(slang_function)); if (fun) { slang_function_construct(fun); fun->kind = kind; diff --git a/src/mesa/shader/slang/slang_typeinfo.c b/src/mesa/shader/slang/slang_typeinfo.c index 2006c7e35ec..5ee54c3a119 100644 --- a/src/mesa/shader/slang/slang_typeinfo.c +++ b/src/mesa/shader/slang/slang_typeinfo.c @@ -296,7 +296,7 @@ slang_type_specifier_new(slang_type_specifier_type type, struct slang_type_specifier_ *_array) { slang_type_specifier *spec = - (slang_type_specifier *) _mesa_malloc(sizeof(slang_type_specifier)); + (slang_type_specifier *) _slang_alloc(sizeof(slang_type_specifier)); if (spec) { spec->type = type; spec->_struct = _struct; |