diff --git a/include/ZE_ZEngine.h b/include/ZE_ZEngine.h index 30610d4..d2cda73 100644 --- a/include/ZE_ZEngine.h +++ b/include/ZE_ZEngine.h @@ -13,7 +13,7 @@ File: ZE_ZEngine.h
Description: Header file for ZEngine class, the core of the ZEngine.
Author(s): James Turk
-$Id: ZE_ZEngine.h,v 1.5 2002/12/04 23:58:54 cozman Exp $
+$Id: ZE_ZEngine.h,v 1.6 2002/12/12 02:50:35 cozman Exp $
\file ZE_ZEngine.h \brief Definition file for core ZEngine class. @@ -170,11 +170,11 @@ class ZEngine SDL_Surface *Display(); /*! - \brief Update screen contents. + \brief Update display contents. - Flip double buffer in SDL if double buffered, otherwise tell video to refresh entire screen. + Swap OpenGL buffers, and update screen. Must be called every frame. **/ - void UpdateScreen(); + void Update(); /*! \brief Clear screen to a certain color (Black by default). diff --git a/src/ZE_ZEngine.cpp b/src/ZE_ZEngine.cpp index ac20e2e..5a0192f 100644 --- a/src/ZE_ZEngine.cpp +++ b/src/ZE_ZEngine.cpp @@ -13,7 +13,7 @@ File: ZE_ZEngine.cpp
Description: Implementation source file for ZEngine library main singleton class.
Author(s): James Turk
-$Id: ZE_ZEngine.cpp,v 1.6 2002/12/05 00:10:42 cozman Exp $
+$Id: ZE_ZEngine.cpp,v 1.7 2002/12/12 02:50:35 cozman Exp $
\file ZE_ZEngine.cpp \brief Central source file for ZEngine. @@ -203,7 +203,7 @@ SDL_Surface *ZEngine::Display() return mScreen; } -void ZEngine::UpdateScreen() +void ZEngine::Update() { SDL_GL_SwapBuffers();