Skip to content

Commit

Permalink
Preprocessor doesn't like greater-equal, so making it just greater test
Browse files Browse the repository at this point in the history
  • Loading branch information
boberfly committed Mar 29, 2020
1 parent ff0fc03 commit 3dae64d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion include/GafferCycles/CyclesLight.h
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ class GAFFERCYCLES_API CyclesLight : public GafferScene::Light
protected :

void hashLight( const Gaffer::Context *context, IECore::MurmurHash &h ) const override;
#ifdef GAFFER_MAJOR_VERSION >= 56
#ifdef GAFFER_MAJOR_VERSION > 55
IECoreScene::ConstShaderNetworkPtr computeLight( const Gaffer::Context *context ) const override;
#else
IECoreScene::ShaderNetworkPtr computeLight( const Gaffer::Context *context ) const override;
Expand Down
2 changes: 1 addition & 1 deletion src/GafferCycles/CyclesLight.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ void CyclesLight::hashLight( const Gaffer::Context *context, IECore::MurmurHash
shaderNamePlug()->hash( h );
}

#ifdef GAFFER_MAJOR_VERSION >= 56
#ifdef GAFFER_MAJOR_VERSION > 55
IECoreScene::ConstShaderNetworkPtr CyclesLight::computeLight( const Gaffer::Context *context ) const
#else
IECoreScene::ShaderNetworkPtr CyclesLight::computeLight( const Gaffer::Context *context ) const
Expand Down

0 comments on commit 3dae64d

Please sign in to comment.