From: <fa...@us...> - 2009-02-18 18:30:17
|
Revision: 779 http://freeglut.svn.sourceforge.net/freeglut/?rev=779&view=rev Author: fayjf Date: 2009-02-18 18:30:12 +0000 (Wed, 18 Feb 2009) Log Message: ----------- Fixing a build error caused by a variable declaration being out of place Modified Paths: -------------- trunk/freeglut/freeglut/src/freeglut_window.c Modified: trunk/freeglut/freeglut/src/freeglut_window.c =================================================================== --- trunk/freeglut/freeglut/src/freeglut_window.c 2009-02-15 21:12:25 UTC (rev 778) +++ trunk/freeglut/freeglut/src/freeglut_window.c 2009-02-18 18:30:12 UTC (rev 779) @@ -306,6 +306,7 @@ HGLRC context; int attribs[7]; PFNWGLCREATECONTEXTATTRIBSARBPROC wglCreateContextAttribsARB; + const char * pWglExtString; /* If nothing fancy has been required, leave the context as it is */ if ( fgState.MajorVersion == 1 && fgState.MinorVersion == 0 && fgState.ContextFlags == 0 ) @@ -322,7 +323,7 @@ return; } - const char * pWglExtString=wglGetEntensionsStringARB(window->Window.Device); + pWglExtString=wglGetEntensionsStringARB(window->Window.Device); if (( pWglExtString == NULL ) || ( strstr(pWglExtString, "WGL_ARB_create_context") == NULL )) { return; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |