glsl: Initialize member a_obj of struct slang_operation.

This commit is contained in:
Vinson Lee 2009-12-23 18:00:06 -08:00
parent 261c3cd530
commit 098f10c270
1 changed files with 1 additions and 0 deletions

View File

@ -46,6 +46,7 @@ slang_operation_construct(slang_operation * oper)
oper->literal_size = 1;
oper->array_constructor = GL_FALSE;
oper->a_id = SLANG_ATOM_NULL;
oper->a_obj = SLANG_ATOM_NULL;
oper->locals = _slang_variable_scope_new(NULL);
if (oper->locals == NULL)
return GL_FALSE;