From 84c5073b7c17bb05a5c21423580bf953df8e0dff Mon Sep 17 00:00:00 2001 From: arcum42 Date: Sat, 3 Jul 2010 07:57:56 +0000 Subject: [PATCH] zzogl-pg: Hack and slash at zerogs.h. git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3379 96395faa-99c1-11dd-bbfe-3dabce05a288 --- plugins/zzogl-pg/opengl/GLWin32.cpp | 3 + .../opengl/Linux/zzogl-pg/zzogl-pg.cbp | 1 + plugins/zzogl-pg/opengl/Regs.cpp | 2 - plugins/zzogl-pg/opengl/ZZGl.h | 24 +++++++ plugins/zzogl-pg/opengl/ZZoglCRTC.cpp | 18 +++-- plugins/zzogl-pg/opengl/ZZoglCRTC.h | 5 +- plugins/zzogl-pg/opengl/ZZoglCreate.cpp | 14 ++-- plugins/zzogl-pg/opengl/ZZoglFlush.cpp | 6 +- plugins/zzogl-pg/opengl/ZZoglShaders.cpp | 7 ++ plugins/zzogl-pg/opengl/ZZoglShoots.cpp | 19 ++++- .../opengl/ZeroGSShaders/zerogsshaders.h | 5 ++ plugins/zzogl-pg/opengl/targets.cpp | 5 -- plugins/zzogl-pg/opengl/zerogs.cpp | 20 ++---- plugins/zzogl-pg/opengl/zerogs.h | 69 ++----------------- 14 files changed, 94 insertions(+), 104 deletions(-) diff --git a/plugins/zzogl-pg/opengl/GLWin32.cpp b/plugins/zzogl-pg/opengl/GLWin32.cpp index 6b7bf995a8..1e6e462fef 100644 --- a/plugins/zzogl-pg/opengl/GLWin32.cpp +++ b/plugins/zzogl-pg/opengl/GLWin32.cpp @@ -21,6 +21,9 @@ #ifdef GL_WIN32_WINDOW +HDC hDC = NULL; // Private GDI Device Context +HGLRC hRC = NULL; // Permanent Rendering Context + LRESULT WINAPI MsgProc(HWND hWnd, UINT msg, WPARAM wParam, LPARAM lParam) { static int nWindowWidth = 0, nWindowHeight = 0; diff --git a/plugins/zzogl-pg/opengl/Linux/zzogl-pg/zzogl-pg.cbp b/plugins/zzogl-pg/opengl/Linux/zzogl-pg/zzogl-pg.cbp index ff8f004e54..2dd8d5f899 100644 --- a/plugins/zzogl-pg/opengl/Linux/zzogl-pg/zzogl-pg.cbp +++ b/plugins/zzogl-pg/opengl/Linux/zzogl-pg/zzogl-pg.cbp @@ -146,6 +146,7 @@ +