openbsd-ports/www/mozilla-firefox/patches/patch-content_canvas_src_nsGLPbufferGLX_cpp

26 lines
1.1 KiB
Plaintext
Raw Normal View History

$OpenBSD: patch-content_canvas_src_nsGLPbufferGLX_cpp,v 1.1 2010/04/26 19:55:58 landry Exp $
--- content/canvas/src/nsGLPbufferGLX.cpp.orig Thu Jan 21 05:29:57 2010
+++ content/canvas/src/nsGLPbufferGLX.cpp Thu Jan 21 13:57:30 2010
@@ -132,8 +132,8 @@ nsGLPbufferGLX::Init(nsCanvasRenderingContextGLPrivate
nsresult rv;
const char *s;
- if (!gGLXWrap.OpenLibrary("libGL.so.1")) {
- LogMessage(NS_LITERAL_CSTRING("Canvas 3D: Couldn't find libGL.so.1"));
+ if (!gGLXWrap.OpenLibrary("libGL.so")) {
+ LogMessage(NS_LITERAL_CSTRING("Canvas 3D: Couldn't find libGL.so"));
return PR_FALSE;
}
@@ -218,8 +218,8 @@ nsGLPbufferGLX::Init(nsCanvasRenderingContextGLPrivate
fprintf (stderr, "nsGLPbufferGLX::Init!\n");
- if (!mGLWrap.OpenLibrary("libGL.so.1")) {
- LogMessage(NS_LITERAL_CSTRING("Canvas 3D: GLWrap init failed, couldn't find libGL.so.1"));
+ if (!mGLWrap.OpenLibrary("libGL.so")) {
+ LogMessage(NS_LITERAL_CSTRING("Canvas 3D: GLWrap init failed, couldn't find libGL.so"));
return PR_FALSE;
}