diff options
| author | John Peterson <jpeterson57@gmail.com> | 2009-01-17 14:28:09 +0000 |
|---|---|---|
| committer | John Peterson <jpeterson57@gmail.com> | 2009-01-17 14:28:09 +0000 |
| commit | ae9cfbd8e3672e78bb56ed763c6285f2bfbfbf99 (patch) | |
| tree | 253f74cd82833f7ba4eff970688668b15ca045be /Source/Plugins/Plugin_VideoOGL/Src/Render.cpp | |
| parent | 7f9ce70b330c6b3776322ccfa3c1509916b5f5c5 (diff) | |
Common: Moved Windows console functions to common
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1887 8ced0084-cf51-0410-be5f-012b33b47a6e
Diffstat (limited to 'Source/Plugins/Plugin_VideoOGL/Src/Render.cpp')
| -rw-r--r-- | Source/Plugins/Plugin_VideoOGL/Src/Render.cpp | 21 |
1 files changed, 16 insertions, 5 deletions
diff --git a/Source/Plugins/Plugin_VideoOGL/Src/Render.cpp b/Source/Plugins/Plugin_VideoOGL/Src/Render.cpp index 1b1d9bf1ef..2c6c710f96 100644 --- a/Source/Plugins/Plugin_VideoOGL/Src/Render.cpp +++ b/Source/Plugins/Plugin_VideoOGL/Src/Render.cpp @@ -15,6 +15,10 @@ // Official SVN repository and contact information can be found at // http://code.google.com/p/dolphin-emu/ + +////////////////////////////////////////////////////////////////////////////////////////// +// Includes +// ------------- #include "Globals.h" #include <list> #include <vector> @@ -45,17 +49,22 @@ #include "VertexLoader.h" #include "XFB.h" #include "Timer.h" -#include "Logging/Logging.h" // for Logging() +#include "Debugger/Logging.h" // for Logging() #if defined(HAVE_WX) && HAVE_WX -#include "Debugger/Debugger.h" // for the CDebugger class + #include "Debugger/Debugger.h" // for the CDebugger class #endif #ifdef _WIN32 -#include "OS/Win32.h" + #include "OS/Win32.h" #else #endif +///////////////////////////// + +////////////////////////////////////////////////////////////////////////////////////////// +// Declarations and definitions +// ------------- struct MESSAGE { MESSAGE() {} @@ -69,7 +78,7 @@ CGprofile g_cgvProf; CGprofile g_cgfProf; #if defined(HAVE_WX) && HAVE_WX -extern CDebugger* m_frame; // the debugging class + extern CDebugger* m_frame; // the debugging class #endif static RasterFont* s_pfont = NULL; @@ -96,6 +105,8 @@ bool g_bBlendLogicOp = false; int frameCount; void HandleCgError(CGcontext ctx, CGerror err, void *appdata); +///////////////////////////// + bool Renderer::Init() { @@ -1122,4 +1133,4 @@ void UpdateViewport() } glDepthRange((xfregs.rawViewport[5]- xfregs.rawViewport[2])/16777215.0f, xfregs.rawViewport[5]/16777215.0f); -}
\ No newline at end of file +} |
