OpenGLRenderer::OpenGLRenderer() :
	m_BackgroundColor(OpenGLColorCornflowerBlue()),
	m_ForegroundColor(OpenGLColorBlack())
{
  setBackgroundColor(OpenGLColorCornflowerBlue());
  setForegroundColor(OpenGLColorBlack());
}
示例#2
0
void Game::screenWillAppear()
{
	OpenGLRenderer::getInstance()->setBackgroundColor(OpenGLColorCornflowerBlue());
}