Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

texturingEnabled #2

Open
geoicons opened this issue Apr 15, 2012 · 0 comments
Open

texturingEnabled #2

geoicons opened this issue Apr 15, 2012 · 0 comments

Comments

@geoicons
Copy link

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;
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant