www.jpct.net

jPCT-AE - a 3d engine for Android => Support => Topic started by: dan on May 27, 2010, 05:08:17 am

Title: Back Ground color
Post by: dan on May 27, 2010, 05:08:17 am
I have a question about background color.

The background of the sample app is blue.

But when i run my app which build from the source code,
the background is black.

Could you tell me what's wrong with it?

thank you!
Title: Re: Back Ground color
Post by: EgonOlsen on May 27, 2010, 07:14:19 am
Nothing wrong. The source code just doesn't reflect the latest version of the demo. Look out for the line "fb.clear();". There, you can use "fb.clear(<RGBColor>);" instead to specify the background color. Just look at the JavaDoc of that method for more details. Sorry for causing some confusion.
Title: Re: Back Ground color
Post by: dan on May 28, 2010, 11:22:07 am
Done.
thank you!!!