UE4 - clang compile fix

[CL 2309803 by Rolando Caloca in Main branch]
This commit is contained in:
Rolando Caloca
2014-09-25 10:56:28 -04:00
committed by UnrealBot
parent 7edf3a3fc0
commit 227498cb64
2 changed files with 5 additions and 5 deletions

View File

@@ -2314,13 +2314,13 @@ public:
/** Constructor. */
FGenerateMetalVisitor(_mesa_glsl_parse_state* InParseState, bool bInIsVS, FBuffers& InBuffers)
: ParseState(InParseState)
, buffer(0)
, bIsVS(bInIsVS)
, Buffers(InBuffers)
, buffer(0)
, indentation(0)
, scope_depth(0)
, temp_id(0)
, global_id(0)
, scope_depth(0)
, needs_semicolon(false)
, IsMain(false)
, should_print_uint_literals_as_ints(false)

View File

@@ -1543,9 +1543,9 @@ class ir_texture : public ir_rvalue
{
public:
ir_texture(enum ir_texture_opcode op, const SSourceLocation& InSourceLocation)
: sampler(NULL), coordinate(NULL), op(op),
projector(NULL), shadow_comparitor(NULL), offset(NULL),
channel(ir_channel_none), SamplerState(NULL)
: op(op), sampler(nullptr), coordinate(nullptr),
projector(nullptr), shadow_comparitor(nullptr), offset(nullptr),
channel(ir_channel_none), SamplerState(nullptr)
{
SourceLocation = InSourceLocation;
this->ir_type = ir_type_texture;