<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="bbPress/1.1" -->
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title>cocos2d for iPhone &#187; Topic: Startup flicker</title>
		<link>http://www.cocos2d-iphone.org/forum/topic/4361</link>
		<description>A fast, easy to use, free, and community supported 2D game engine</description>
		<language>en-US</language>
		<pubDate>Fri, 10 Feb 2012 01:59:45 +0000</pubDate>
		<generator>http://bbpress.org/?v=1.1</generator>
		<textInput>
			<title><![CDATA[Search]]></title>
			<description><![CDATA[Search all topics from these forums.]]></description>
			<name>q</name>
			<link>http://www.cocos2d-iphone.org/forum/search.php</link>
		</textInput>
		<atom:link href="http://www.cocos2d-iphone.org/forum/rss/topic/4361" rel="self" type="application/rss+xml" />

		<item>
			<title>sowbug on "Startup flicker"</title>
			<link>http://www.cocos2d-iphone.org/forum/topic/4361#post-26088</link>
			<pubDate>Tue, 09 Feb 2010 13:22:38 +0000</pubDate>
			<dc:creator>sowbug</dc:creator>
			<guid isPermaLink="false">26088@http://www.cocos2d-iphone.org/forum/</guid>
			<description><p>Hey neophit, that patch worked perfectly. Thanks to you and myBuddyCJ!
</p></description>
		</item>
		<item>
			<title>neophit on "Startup flicker"</title>
			<link>http://www.cocos2d-iphone.org/forum/topic/4361#post-26068</link>
			<pubDate>Tue, 09 Feb 2010 09:27:38 +0000</pubDate>
			<dc:creator>neophit</dc:creator>
			<guid isPermaLink="false">26068@http://www.cocos2d-iphone.org/forum/</guid>
			<description><p><a href="http://code.google.com/p/cocos2d-iphone/issues/detail?id=350#c5">myBuddyCJ posted a patch</a> which fixes the flicker in CCDirector.</p>
<p>Worked great for me!
</p></description>
		</item>
		<item>
			<title>crmagicxxx on "Startup flicker"</title>
			<link>http://www.cocos2d-iphone.org/forum/topic/4361#post-26060</link>
			<pubDate>Tue, 09 Feb 2010 06:56:21 +0000</pubDate>
			<dc:creator>crmagicxxx</dc:creator>
			<guid isPermaLink="false">26060@http://www.cocos2d-iphone.org/forum/</guid>
			<description><p>This code works perfect for me, but I think new Default OpenGL states are introduced in 0.99.0-rc (from revision r1707 exactly)</p>
<p>So if you don't use latest revisions try removing lines<br />
<pre><code>CC_ENABLE_DEFAULT_GL_STATES();
CC_DISABLE_DEFAULT_GL_STATES();</code></pre></description>
		</item>
		<item>
			<title>sowbug on "Startup flicker"</title>
			<link>http://www.cocos2d-iphone.org/forum/topic/4361#post-26050</link>
			<pubDate>Tue, 09 Feb 2010 04:28:58 +0000</pubDate>
			<dc:creator>sowbug</dc:creator>
			<guid isPermaLink="false">26050@http://www.cocos2d-iphone.org/forum/</guid>
			<description><p>I'm using 0.9-beta2. I backported from 0.99 the macros mentioned in <a href="http://code.google.com/p/cocos2d-iphone/issues/detail?id=735" rel="nofollow">http://code.google.com/p/cocos2d-iphone/issues/detail?id=735</a>. Here's what I have:</p>
<pre><code>CCSprite *sprite = [CCSprite spriteWithFile:@&#34;Default.png&#34;];
sprite.anchorPoint = CGPointZero;
CC_ENABLE_DEFAULT_GL_STATES();
[sprite draw];
CC_DISABLE_DEFAULT_GL_STATES();
[[[CCDirector sharedDirector] openGLView] swapBuffers];
[[CCDirector sharedDirector] runWithScene:scene];</code></pre>
<p>Unfortunately, the flicker between Default.png and the intro scene is pretty noticeable on both my devices (old iPhone, iPhone 3GS). The [self mainloop] hack in Director didn't work. Anyone have any ideas of other ways to solve this problem?
</p></description>
		</item>

	</channel>
</rss>

