Game Development Community

Why is TGB forced to 16bpp in fullscreen mode?

by Alain Labrie · in Torque Game Builder · 05/21/2011 (10:09 am) · 1 replies

I just noticed this in WinOGLVideo.cc
bool OpenGLDevice::setScreenMode( U32 width, U32 height, U32 bpp, bool fullScreen, bool forceIt, bool repaint )
{
...
   if ( newFullScreen )
   {
      if (newRes.bpp != 16 && mFullScreenOnly)
         newRes.bpp = 16;

so why is TGB forcing 16 bpp in fullscreen?

#1
05/21/2011 (10:49 pm)
It looks like it is for 16-bit-only cards, blast from the past.