Complete.Org: Mailing Lists: Archives: freeciv-dev: January 2003:
[Freeciv-Dev] (PR#2935) SDL Client -- Fullscreen option
Home

[Freeciv-Dev] (PR#2935) SDL Client -- Fullscreen option

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: undisclosed-recipients:;
Subject: [Freeciv-Dev] (PR#2935) SDL Client -- Fullscreen option
From: "Davide Pagnin via RT" <rt@xxxxxxxxxxxxxx>
Date: Wed, 29 Jan 2003 03:38:52 -0800
Reply-to: rt@xxxxxxxxxxxxxx

        Hi there!

In my experimental tries with the SDL Client, I've found another
problem, that Jason consider not common to every platform.

I've been able to successfully compile and run the sdl-client, both on
linux and Tru64 Unix 5.1A, but when I try to switch to fullscreen,
through the appropriate option, the client segfault.

I've isolated the problem to the togle_fullscreen_callback, inside
optiondlg.c file.

at line 237:241 there is:
  while (pModes_Rect[i]->w < Main.screen->w) {
    i++;
  }

On my linux system, before starting the cycle I get:
pModes_Rect[i]->w == 1024
Main.screen->w == 640

And when i became 1, the system segfault

On my Tru64 Unix alpha system, I get:
pModes_Rect[i]->w == 1280
Main.screen->w == 640

And when i became 1, the system segfault

I don't know what goes wrong.

If this can be of help, my linux system is:
Redhat 7.3
kernel 2.4.18-18.7.x
gcc 2.96-113
XFree86 4.2.0-8
gdm 2.2.5.4-1.ximian.25 (I use ximian gnome desktop)
SDL 1.2.4-1.ximian.3

Extracted from hwconf (my video subsystem)
---
class: VIDEO
bus: PCI
detached: 0
driver: unknown
desc: "Trident Microsystems|unknown device 1023:8620"
vendorId: 1023
deviceId: 8620
subVendorId: 1014
subDeviceId: 0502
pciType: 1
---

Let me know if you need more info or if I can do some other tests.





[Prev in Thread] Current Thread [Next in Thread]