ExampleEngine icon indicating copy to clipboard operation
ExampleEngine copied to clipboard

texturingEnabled

Open geoicons opened this issue 13 years ago • 0 comments

Issue is resolved by commenting replacing EEShape.m section as follows. Otherwise you'll get a compiler error for iOS 5.1

I've commented out the offending lines.

if (texture != nil) { //effect.texturingEnabled = YES; effect.texture2d0.enabled = YES; effect.texture2d0.envMode = GLKTextureEnvModeReplace; effect.texture2d0.target = GLKTextureTarget2D; // effect.texture2d0.glName = texture.glName; effect.texture2d0.name=texture.name; }

geoicons avatar Apr 15 '12 01:04 geoicons