Skip to content

Commit 3dae64d

Browse files
committed
Preprocessor doesn't like greater-equal, so making it just greater test
1 parent ff0fc03 commit 3dae64d

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

include/GafferCycles/CyclesLight.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ class GAFFERCYCLES_API CyclesLight : public GafferScene::Light
6161
protected :
6262

6363
void hashLight( const Gaffer::Context *context, IECore::MurmurHash &h ) const override;
64-
#ifdef GAFFER_MAJOR_VERSION >= 56
64+
#ifdef GAFFER_MAJOR_VERSION > 55
6565
IECoreScene::ConstShaderNetworkPtr computeLight( const Gaffer::Context *context ) const override;
6666
#else
6767
IECoreScene::ShaderNetworkPtr computeLight( const Gaffer::Context *context ) const override;

src/GafferCycles/CyclesLight.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ void CyclesLight::hashLight( const Gaffer::Context *context, IECore::MurmurHash
102102
shaderNamePlug()->hash( h );
103103
}
104104

105-
#ifdef GAFFER_MAJOR_VERSION >= 56
105+
#ifdef GAFFER_MAJOR_VERSION > 55
106106
IECoreScene::ConstShaderNetworkPtr CyclesLight::computeLight( const Gaffer::Context *context ) const
107107
#else
108108
IECoreScene::ShaderNetworkPtr CyclesLight::computeLight( const Gaffer::Context *context ) const

0 commit comments

Comments
 (0)