Welcome, Guest. Please login or register. Did you miss your activation email?

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - ZoserLock

Pages: [1]
1
Window / Re: Object lost on window re-creation.
« on: December 12, 2012, 02:34:09 am »
Hi again,

first of all, thanks for the answer.

i checked the state and they are OK.

i checked the opengl Errors and gives "invalid operation" on glBindFramebuffer(GL_FRAMEBUFFER, mFrameBufferId);. It seems that the FBO ID becomes invalid after the change of the video mode.

also, i checked GDebugger and indeed... the FBOs of previous context still there.

so i don't have any more clues.

i dont know if you have another ideas.  :(

note: im using SFML 2.0 only for the OpenGL window creation.





2
Window / Object lost on window re-creation.
« on: December 11, 2012, 12:01:38 pm »
Hi i have a little question,

When i change the resolution of the game the window is recreated and sfml somehow saves the objects from the previus contex( objects like textures, vbo)  but the frame buffer objects are not saved.

i need to know if that is the espected behavior.

Thx

Pages: [1]