mirror of
https://github.com/SpartanJ/eepp.git
synced 2026-08-18 06:55:48 +03:00
Minor change.
--HG-- branch : dev
This commit is contained in:
@@ -93,7 +93,7 @@ EE_MAIN_FUNC int main (int argc, char * argv [])
|
||||
// Check if created
|
||||
if ( win->isOpen() ) {
|
||||
// Set window background color
|
||||
win->setBackColor( RGB( 50, 50, 50 ) );
|
||||
win->setClearColor( RGB( 50, 50, 50 ) );
|
||||
|
||||
GLi->polygonMode( );
|
||||
|
||||
|
||||
@@ -60,7 +60,7 @@ EE_MAIN_FUNC int main (int argc, char * argv [])
|
||||
win = Engine::instance()->createWindow( WindowSettings( 960, 640, "eepp - Fonts" ), ContextSettings( true ) );
|
||||
|
||||
// Set window background color
|
||||
win->setBackColor( RGB(255,255,255) );
|
||||
win->setClearColor( RGB(255,255,255) );
|
||||
|
||||
// Check if created
|
||||
if ( win->isOpen() ) {
|
||||
@@ -83,7 +83,7 @@ EE_MAIN_FUNC int main (int argc, char * argv [])
|
||||
text.setFlags( FONT_DRAW_CENTER );
|
||||
text.setString( Txt );
|
||||
|
||||
win->setBackColor( RGB(230,230,230) );
|
||||
win->setClearColor( RGB(230,230,230) );
|
||||
|
||||
// Application loop
|
||||
win->runMainLoop( &mainLoop );
|
||||
|
||||
@@ -633,7 +633,7 @@ EE_MAIN_FUNC int main (int argc, char * argv [])
|
||||
if ( mWindow->isOpen() ) {
|
||||
KM = mWindow->getInput();
|
||||
|
||||
mWindow->setBackColor( RGB( 255, 255, 255 ) );
|
||||
mWindow->setClearColor( RGB( 255, 255, 255 ) );
|
||||
|
||||
physicsCreate();
|
||||
|
||||
|
||||
@@ -116,7 +116,7 @@ EE_MAIN_FUNC int main (int argc, char * argv [])
|
||||
win = Engine::instance()->createWindow( WindowSettings( 1024, 768, "eepp - VBO - FBO and Batch Rendering" ), ContextSettings( true ) );
|
||||
|
||||
// Set window background color
|
||||
win->setBackColor( RGB( 50, 50, 50 ) );
|
||||
win->setClearColor( RGB( 50, 50, 50 ) );
|
||||
|
||||
// Check if created
|
||||
if ( win->isOpen() ) {
|
||||
|
||||
Reference in New Issue
Block a user