File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -180,7 +180,7 @@ -(void)draw:(CCRenderer *)renderer transform:(const GLKMatrix4 *)transform
180
180
181
181
if (_effect)
182
182
{
183
- _effectRenderer.contentSize = self.contentSize ;
183
+ _effectRenderer.contentSize = self.contentSizeInPoints ;
184
184
if ([_effect prepareForRendering ] == CCEffectPrepareSuccess)
185
185
{
186
186
// Preparing an effect for rendering can modify its uniforms
Original file line number Diff line number Diff line change @@ -78,7 +78,7 @@ -(void)draw:(CCRenderer *)renderer transform:(const GLKMatrix4 *)transform;
78
78
79
79
if (_effect)
80
80
{
81
- _effectRenderer.contentSize = self.contentSize ;
81
+ _effectRenderer.contentSize = self.contentSizeInPoints ;
82
82
if ([self .effect prepareForRendering ] == CCEffectPrepareSuccess)
83
83
{
84
84
// Preparing an effect for rendering can modify its uniforms
You can’t perform that action at this time.
0 commit comments