mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-03-14 01:27:41 +00:00
fix warnings
This commit is contained in:
parent
5ea0656523
commit
e0a899f982
@ -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();
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user