[gzdoom-ee3712ff] new stereo modes break linux build

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 a reply

Smilies
:D :) :( :o :shock: :? 8-) :lol: :x :P :oops: :cry: :evil: :twisted: :roll: :wink: :geek: :ugeek: :!: :?: :idea: :arrow: :| :mrgreen: :3: :wub: >:( :blergh:
View more smilies

BBCode is OFF
Smilies are ON

Topic review
   

Expand view Topic review: [gzdoom-ee3712ff] new stereo modes break linux build

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

by biospud » Thu Apr 14, 2016 11:04 am

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.

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

by Graf Zahl » Thu Apr 14, 2016 2:20 am

fixed the compile. But to enable this feature someone with Linux access needs to do it.

[gzdoom-ee3712ff] new stereo modes break linux build

by VoidMage » Wed Apr 13, 2016 1:09 pm

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.

Top