blob: 7acadba1a5da38cf4961296db4d7945d5e91505e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
$NetBSD: patch-ak,v 1.9 2009/12/09 10:13:03 drochner Exp $
--- src/video_out/video_out_opengl.c.orig 2009-11-30 21:55:52.000000000 +0100
+++ src/video_out/video_out_opengl.c
@@ -706,9 +706,7 @@ static void *getdladdr (const GLubyte *_
#elif defined (__sun) || defined (__sgi)
static void *handle = NULL;
- if (!handle) {
- handle = dlopen (NULL, RTLD_LAZY);
- }
+ handle = dlopen (NULL, RTLD_LAZY);
return dlsym (handle, funcName);
#else /* all other Un*xes */
|