[gzdoom-ee3712ff] new stereo modes break linux build

Bugs that have been investigated and resolved somehow.

Moderator: GZDoom Developers

Forum rules
Please don't bump threads here if you have a problem - it will often be forgotten about if you do. Instead, make a new thread here.
Post Reply
User avatar
VoidMage
Posts: 165
Joined: Thu Dec 02, 2010 10:42 am

[gzdoom-ee3712ff] new stereo modes break linux build

Post by VoidMage »

The trivial part is that in src/gl/stereo3d/gl_quadstereo.h,

Code: Select all

static const QuadStereo& QuadStereo::getInstance(float ipd);
should (probably) be

Code: Select all

static const QuadStereo& getInstance(float ipd);
The non-trivial part is that 'vr_enable_quadbuffered' isn't implemented in SDL backend, which wouldn't be all that bad, if not for that var not being defined at all, resulting in 'undefined reference' linking error.

SDL_GL_STEREO seems to be the needed attribute.
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
Posts: 49229
Joined: Sat Jul 19, 2003 10:19 am
Location: Germany

Re: [gzdoom-ee3712ff] new stereo modes break linux build

Post by Graf Zahl »

fixed the compile. But to enable this feature someone with Linux access needs to do it.
User avatar
biospud
Posts: 206
Joined: Mon Oct 14, 2013 2:19 pm
Location: California, USA
Contact:

Re: [gzdoom-ee3712ff] new stereo modes break linux build

Post by biospud »

Graf Zahl wrote:fixed the compile. But to enable this feature someone with Linux access needs to do it.
Thanks Graf for cleaning up my mess yet again. These fixes will also help my GZ3Doom fork.

Does anyone here actually have stereoscopic 3D hardware working on Linux? If so, I'd like to know the details of your graphics board, glasses model, and linux distribution/version, so I could possibly create a test system of my own.
Post Reply

Return to “Closed Bugs [GZDoom]”