Subject: pkg/30781: PATCH: make 3ddesktop work without Direct Rendering
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: None <ghen@telenet.be>
List: pkgsrc-bugs
Date: 07/19/2005 16:15:00
>Number:         30781
>Category:       pkg
>Synopsis:       PATCH: make 3ddesktop work without Direct Rendering
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Tue Jul 19 16:15:00 +0000 2005
>Originator:     Geert Hendrickx
>Release:        netbsd-2
>Organization:
>Environment:
>Description:
The wm/3ddesktop package uses OpenGL to animate desktop switching in 3D.  
Whereas this works fine even without hardware acceleration (direct 
rendering), 3ddesktop spews an error and exits when it detects the 
hardware is not available.  
>How-To-Repeat:
glXIsDirect failed, no Direct Rendering possible!
Please configure hardware acceleration.  Exiting.

>Fix:
$NetBSD$ 

--- win.cpp.orig        2004-05-28 05:41:28.000000000 +0200
+++ win.cpp     2005-07-18 11:49:46.000000000 +0200
@@ -316,11 +316,10 @@
     else {
         msgout (ERROR, 
                 "glXIsDirect failed, no Direct Rendering possible!\n"
-                "Please configure hardware acceleration.  Exiting.\n");
+                "3ddesktop will run slow without hardware acceleration.\n");
         fprintf (stderr, 
                  "3ddeskd: glXIsDirect failed, no Direct Rendering possible!\n"
-                 "3ddeskd: Please configure hardware acceleration.  Exiting.\n");
+                 "3ddeskd: 3ddesktop will run slow without hardware acceleration.\n");
-        end_program(-1);
     }