You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
We are using the PanoramaGL library for a project.
The library works fine, but we are having an issue when we close a panoramic
view, move back to the home page and re open the panoramic view.
Most often than not when following this cycle we get the following
error:"Failed to make complete framebuffer object 8cd6"
When we close and open the panoramic a number of times, it then loads up well.
Do you have any idea how we could solve this ? such as clearing the buffer when
the user presses the home button ?
Best regards,
Zak.
Original issue reported on code.google.com by [email protected] on 24 Oct 2012 at 6:15
The text was updated successfully, but these errors were encountered:
Yes I have the same issue. I faced it around 20 days, but not get any solution.
but finally i solved it. I have also given dairy milk to my friends , bcoz i
was very happy.
Why exactly is happen.
1) I use storyboard
2) I assign my viewcontroller view to PLView. I have attached screen shot.
3) In my .h file i declare
PLView *plView;
4) In my .m file
plView = (PLView *)self.view;
plView.delegate = self;
I declare this code in viewDidLoad() method.
(This is the actual cause of the problem , Dont do this)
Reason: because when u create this in viewdidload , the view is not properly
loaded, thats why it show failed to create.
Best way is to create in viewwillappear.
-(void)viewWillAppear:(BOOL)animated
{
[super viewWillAppear:animated];
if (!alreadyCreated)
{
//create plview
plView = (PLView *)self.view;
plView.delegate = self;
//refresh the layout at starting.
[plView layoutSubviews];
alreadyCreated = YES;
}
}
Remember viewwillapper can be called multiple time , but u want to create
plview only once . i manage by creating a BOOL variable. so initially its false
. and next time true. means this code will executed once.
I solved the issue and i am very happy.
Original issue reported on code.google.com by
[email protected]
on 24 Oct 2012 at 6:15The text was updated successfully, but these errors were encountered: