コード例 #1
0
OpenGLRenderer::OpenGLRenderer() :
	m_BackgroundColor(OpenGLColorCornflowerBlue()),
	m_ForegroundColor(OpenGLColorBlack())
{
  setBackgroundColor(OpenGLColorCornflowerBlue());
  setForegroundColor(OpenGLColorBlack());
}
コード例 #2
0
ファイル: Game.cpp プロジェクト: doug0102/Assignment1
void Game::screenWillAppear()
{
	OpenGLRenderer::getInstance()->setBackgroundColor(OpenGLColorCornflowerBlue());
}