SWDEV-1 - Fix Windows build
Change-Id: I3867b4a7175316121246a639fb8d704ad491adb6
This commit is contained in:
@@ -1353,7 +1353,7 @@ static GLenum clChannelDataTypeToGlType(cl_channel_type channel_type) {
|
|||||||
case CL_UNORM_SHORT_565:
|
case CL_UNORM_SHORT_565:
|
||||||
case CL_UNORM_SHORT_555:
|
case CL_UNORM_SHORT_555:
|
||||||
default:
|
default:
|
||||||
guarantee(false && "Unexpected CL type.");
|
guarantee(false, "Unexpected CL type.");
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -1379,7 +1379,7 @@ static GLenum glInternalFormatToGlFormat(GLenum internalFormat) {
|
|||||||
return GL_RGBA_INTEGER;
|
return GL_RGBA_INTEGER;
|
||||||
|
|
||||||
default:
|
default:
|
||||||
guarantee(false && "Unexpected GL internal format.");
|
guarantee(false, "Unexpected GL internal format.");
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user