diff options
Diffstat (limited to 'graphics/opencsg/patches/patch-RenderTexture.cpp')
-rw-r--r-- | graphics/opencsg/patches/patch-RenderTexture.cpp | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/graphics/opencsg/patches/patch-RenderTexture.cpp b/graphics/opencsg/patches/patch-RenderTexture.cpp new file mode 100644 index 00000000000..822e7d9453c --- /dev/null +++ b/graphics/opencsg/patches/patch-RenderTexture.cpp @@ -0,0 +1,18 @@ +$NetBSD: patch-RenderTexture.cpp,v 1.1 2012/02/28 10:42:13 reinoud Exp $ + +--- RenderTexture/RenderTexture.cpp.orig 2011-12-01 21:25:12.000000000 +0000 ++++ RenderTexture/RenderTexture.cpp +@@ -414,11 +414,13 @@ bool RenderTexture::Initialize(int width + GLXFBConfigSGIX *fbConfigs; + int nConfigs; + ++#if 0 + // [Andrew Wood] + //Add in pbufferAttribs. Needed to choose pixel format. (Especially for floating point) + _pixelFormatAttribs.insert(_pixelFormatAttribs.begin(), + _pbufferAttribs.begin(),_pbufferAttribs.end()); + // [/Andrew Wood] ++#endif + + fbConfigs = glXChooseFBConfigSGIX(_pDisplay, screen, + &_pixelFormatAttribs[0], &nConfigs); |