From ea407b7bcc4c61d55809dc3ba83cd9cda121dae9 Mon Sep 17 00:00:00 2001 From: Glenn Maynard Date: Mon, 30 Dec 2002 04:04:18 +0000 Subject: [PATCH] definition fixup --- stepmania/src/RageDisplay.cpp | 1 + stepmania/src/RageDisplayInternal.h | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/stepmania/src/RageDisplay.cpp b/stepmania/src/RageDisplay.cpp index 022328f6dd..579860ce66 100644 --- a/stepmania/src/RageDisplay.cpp +++ b/stepmania/src/RageDisplay.cpp @@ -51,6 +51,7 @@ int RageDisplay::GetDPF() const { return g_iDPF; } static int g_iFramesRenderedSinceLastCheck, g_iVertsRenderedSinceLastCheck, g_iDrawsSinceLastCheck; +PWSWAPINTERVALEXTPROC GLExt::wglSwapIntervalEXT; void GetGLExtensions(set &ext) { diff --git a/stepmania/src/RageDisplayInternal.h b/stepmania/src/RageDisplayInternal.h index d82f65462f..efc2722357 100644 --- a/stepmania/src/RageDisplayInternal.h +++ b/stepmania/src/RageDisplayInternal.h @@ -45,7 +45,7 @@ struct oglspecs_t { /* Extension functions we use. Put these in a namespace instead of in oglspecs_t, * so they can be called like regular functions. */ namespace GLExt { - PWSWAPINTERVALEXTPROC wglSwapIntervalEXT; + extern PWSWAPINTERVALEXTPROC wglSwapIntervalEXT; }; using namespace GLExt;