OpenGL Visual Management ... continued.

lawson_whitney at lawson_whitney at
Thu Mar 29 09:49:04 CST 2001

On Thu, 29 Mar 2001, Gavriel State wrote:

> Can you tell me:
>   - What video card you're using
>   - What bit depth and resolution you've got
>   - Whether the behaviour continues if you turn off the setup_opengl_visual()
>     call in dlls/x11drv/x11drv_main.c
No.  To be precise, I did exactly:

diff -ur /gp/gav/was/dlls/x11drv/x11drv_main.c dlls/x11drv/x11drv_main.c
--- /gp/gav/was/dlls/x11drv/x11drv_main.c	Wed Mar 28 22:31:00 2001
+++ dlls/x11drv/x11drv_main.c	Thu Mar 29 10:23:03 2001
@@ -379,7 +379,8 @@

     /* If OpenGL is available, change the default visual, etc as necessary */
-    setup_opengl_visual();
+/*    setup_opengl_visual();
 #endif /* HAVE_OPENGL */

     /* tell the libX11 that we will do input method handling ourselves

and everything works fine.

>   - Whether notepad.exe exhibits the same behaviour (that's the only non
>     game app I run on a regular basis for testing).

How about winemine??   (didn't have notepad.exe handy.)  winemine does
it, so does programs/notepad.  I pulled a 1993 notepad.exe from a
tar.bz2 - that would be from wfw3.11, I think.

It does it too.
> At a guess - the privately created ColorMaps need to take their initial colors
> from the Default Color Map?

That sounds about right.  Oh, at one point I reverted only wnd.c - no
difference - then palette.c.  Colors seemed better with the pointer off
the window IIRC, but it still went to black and white withe the pointer
on the desktop.
> I'll try to have a further look into it tomorrow.  Sorry for any wasted time.
>  -Gav
> --
> Gavriel State, CEO
> TransGaming Technologies Inc.
> gav at
---cut here

Juno offers FREE or PREMIUM Internet access for less!
Join Juno today!  For your FREE software, visit:

More information about the wine-devel mailing list