fix warnings

This commit is contained in:
Matthias Ringwald 2015-07-14 22:36:22 +02:00
parent 5ea0656523
commit e0a899f982

View File

@ -275,7 +275,7 @@
texWidth, texHeight,
8, texWidth * 4,
CGImageGetColorSpace(textureImage),
kCGImageAlphaPremultipliedLast);
(CGBitmapInfo)kCGImageAlphaPremultipliedLast);
CGContextDrawImage(textureContext, CGRectMake(0.0, 0.0, (float)texWidth, (float)texHeight), textureImage);
CGContextRelease(textureContext);
@ -319,16 +319,6 @@
animationTimer = newTimer;
}
- (void)setAnimationInterval:(NSTimeInterval)interval {
animationInterval = interval;
if (animationTimer) {
[self stopAnimation];
[self startAnimation];
}
}
- (void)checkGLError:(BOOL)visibleCheck {
GLenum error = glGetError();