ok this time i won't find the answer straight after i post...
in my program i have a whole heap of drawing code in the -(void)drawView method
it draws fine when running it on 3.0 and 3.1
but as soon as i switch back to 2.2.1 nothing appears
i put break points in the drawView method and it never stopped at them
so it's not even calling the method
i tried calling the -(void)layoutSubviews from the initWithCoder that is just the
code
which is what was there when i first made the project and it worked fine with 2.2.1, and it goes through all the methods without problem but it still doesn't draw anything..
what makes it draw in 3.0 and not in 2.2.1?
in my program i have a whole heap of drawing code in the -(void)drawView method
it draws fine when running it on 3.0 and 3.1
but as soon as i switch back to 2.2.1 nothing appears
i put break points in the drawView method and it never stopped at them
so it's not even calling the method
i tried calling the -(void)layoutSubviews from the initWithCoder that is just the
Code:
- (void)layoutSubviews {
[EAGLContext setCurrentContext:context];
[self destroyFramebuffer];
[self createFramebuffer];
[self drawView];
}
which is what was there when i first made the project and it worked fine with 2.2.1, and it goes through all the methods without problem but it still doesn't draw anything..
what makes it draw in 3.0 and not in 2.2.1?