iDevGames Forums
OpenGL Flip buffer sometimes fail - Printable Version

+- iDevGames Forums (http://www.idevgames.com/forums)
+-- Forum: Development Zone (/forum-3.html)
+--- Forum: iPhone, iPad & iPod Game Development (/forum-11.html)
+--- Thread: OpenGL Flip buffer sometimes fail (/thread-2509.html)



OpenGL Flip buffer sometimes fail - SunHpp - Jul 23, 2008 01:33 AM

Hey there I have a little glitch in my iphone game, when I flip screen buffer in opengl, sometimes the screen goes messy, draws goes to one buffer and I can see another backbuffer blinking over it. I dont know if you see what I mean, I can see the exact same problem in the SDK from apple sample called Crash Landing sometimes.

Any idea appreciated !

Julien meyer


OpenGL Flip buffer sometimes fail - kodex - Jul 23, 2008 02:27 AM

If you can reproduce the problem in one of apple's sample apps I would report it as a bug

bugreport.apple.com


OpenGL Flip buffer sometimes fail - SunHpp - Jul 23, 2008 06:09 AM

kodex Wrote:If you can reproduce the problem in one of apple's sample apps I would report it as a bug

bugreport.apple.com

I post into Developers forum on apple.com

I also have another issue using accelerometer :
http://discussions.apple.com/thread.jspa?messageID=7458611�

Hope someone could help us as its a bit annoying before releasing our apps on the store!

Thanks,

Julien meyer
Jadegame.com


OpenGL Flip buffer sometimes fail - SunHpp - Jul 25, 2008 12:50 AM

Hello,

Seems to be a bug linked to kEAGLColorFormatRGB565..

Work-around found I use kEAGLColorFormatRGBA8 instead of kEAGLColorFormatRGB565 and it always works :

[eaglLayer setDrawableProperties:[NSDictionary dictionaryWithObjectsAndKeys:[NSNumber numberWithBool:NO], kEAGLDrawablePropertyRetainedBacking, kEAGLColorFormatRGBA8/*kEAGLColorFormatRGB565*/, kEAGLDrawablePropertyColorFormat, nil]];
_format = kEAGLColorFormatRGBA8; //kEAGLColorFormatRGB565;

Cheers,
Julien Meyer
http://JadeGame.Com


OpenGL Flip buffer sometimes fail - Frogblast - Jul 25, 2008 04:03 PM

SunHpp Wrote:I post into Developers forum on apple.com

That isn't filing a bug. Those forums are not monitored by Apple at all. Otherwise, people wouldn't be talking about the iPhone SDK there.

If you don't file a bug, it won't get fixed.