[SCM] OCE packaging branch, debian, updated. debian/0.11-1

QbProg tholag at gmail.com
Thu Dec 13 19:16:48 UTC 2012


The following commit has been merged in the debian branch:
commit 5a1bef14de1485a4208c3140ece88149c71c167a
Author: QbProg <tholag at gmail.com>
Date:   Fri Nov 30 20:16:25 2012 +0100

    Fix for mingw on windows , proposed by Max
    (http://osdir.com/ml/oce-development/2012-11/msg00019.html)

diff --git a/src/OpenGl/OpenGl_Context.cxx b/src/OpenGl/OpenGl_Context.cxx
index 74747aa..f839d87 100644
--- a/src/OpenGl/OpenGl_Context.cxx
+++ b/src/OpenGl/OpenGl_Context.cxx
@@ -249,7 +249,7 @@ void OpenGl_Context::SwapBuffers()
 void* OpenGl_Context::findProc (const char* theFuncName)
 {
 #if (defined(_WIN32) || defined(__WIN32__))
-  return wglGetProcAddress (theFuncName);
+  return (void*)wglGetProcAddress (theFuncName);
 #elif defined(__APPLE__) && !defined(MACOSX_USE_GLX)
   return (myGlLibHandle != NULL) ? dlsym (myGlLibHandle, theFuncName) : NULL;
 #else

-- 
OCE packaging



More information about the debian-science-commits mailing list