Add geometry shader generator for stereo 3D.

This commit is contained in:
Jules Blok 2014-10-16 18:52:32 +02:00
parent 6670cacddc
commit b005f61a2e
13 changed files with 209 additions and 25 deletions

View file

@ -73,7 +73,7 @@ FramebufferManager::FramebufferManager(int targetWidth, int targetHeight, int ms
m_efbDepth = glObj[1];
m_efbColorSwap = glObj[2];
m_EFBLayers = 1;
m_EFBLayers = (g_ActiveConfig.bStereo) ? 2 : 1;
// OpenGL MSAA textures are a different kind of texture type and must be allocated
// with a different function, so we create them separately.