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

Failed to make complete framebuffer object 8cd6" #19

Open
GoogleCodeExporter opened this issue Jul 2, 2015 · 3 comments
Open

Failed to make complete framebuffer object 8cd6" #19

GoogleCodeExporter opened this issue Jul 2, 2015 · 3 comments

Comments

@GoogleCodeExporter
Copy link

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

@GoogleCodeExporter
Copy link
Author

I am having the same issue. Was there any resolution?

Original comment by [email protected] on 11 Jan 2013 at 3:43

@GoogleCodeExporter
Copy link
Author

Same issue ! Any solutions ?

Original comment by [email protected] on 9 Apr 2013 at 2:23

@GoogleCodeExporter
Copy link
Author

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 comment by [email protected] on 11 Aug 2014 at 7:10

Attachments:

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

No branches or pull requests

1 participant