Fix gl_FrontFacing compilation problem

This commit is contained in:
Brian 2007-12-04 14:05:26 -07:00
parent df198d24bc
commit 2ee7035886
1 changed files with 2 additions and 1 deletions

View File

@ -2352,7 +2352,8 @@ _slang_gen_field(slang_assemble_ctx * A, slang_operation *oper)
return n;
}
else if ( ti.spec.type == SLANG_SPEC_FLOAT
|| ti.spec.type == SLANG_SPEC_INT) {
|| ti.spec.type == SLANG_SPEC_INT
|| ti.spec.type == SLANG_SPEC_BOOL) {
const GLuint rows = 1;
slang_swizzle swz;
slang_ir_node *n;