[2.1] Bug: mStereoMode not defined for GL3Plus

Discussion area about developing with Ogre2 branches (2.1, 2.2 and beyond)
Post Reply
GrafZahl
Gnoblar
Posts: 10
Joined: Wed Sep 02, 2015 5:12 pm

[2.1] Bug: mStereoMode not defined for GL3Plus

Post by GrafZahl »

Hi

I found another issue in the GL3Plus renderer.
The compiler complains, that Win32GLSupport::mStereoMode (for define OGRE_NO_QUAD_BUFFER_STEREO = 0) is not present.

I compared the files
RenderSystems\GL3Plus\include\windowing\win32\OgreWin32GLSupport.h
and
RenderSystems\GL\include\Win32\OgreWin32GLSupport.h

In the second file this member variable is defined. So I simply added it to the class in the first file and now it compiles again.

Best regards,
GrafZahl

User avatar
dark_sylinc
OGRE Team Member
OGRE Team Member
Posts: 4212
Joined: Sat Jul 21, 2007 4:55 pm
Location: Buenos Aires, Argentina
x 802
Contact:

Re: [2.1] Bug: mStereoMode not defined for GL3Plus

Post by dark_sylinc »

Thanks. Fixed.

However take note that STEREO mode option was a an external contribution to 1.x branch and ported over to 2.x; but the way it worked didn't seem to be very friendly to the new Compositor introduced in Ogre 2.x

Ogre 2.1 is in WIP. Although very stable by now, when tinkering with CMake options such as this one: I did not test this functionality and may not work at all, or have bugs. Or just work fine.

GrafZahl
Gnoblar
Posts: 10
Joined: Wed Sep 02, 2015 5:12 pm

Re: [2.1] Bug: mStereoMode not defined for GL3Plus

Post by GrafZahl »

Hi

Thanks for fixing it so fast, yes I already thought about that and since I do not need stereo for my project I will disable this option next time.

Best regards,
GrafZahl

Post Reply