I was poking around in the renderer code and figured out why my screenshots where not being gamma corrected. one of the conditions of applying gamma correction is whether or not tr.overbrightBits > 0. If you are running windowed then it is always 0 so you will never get gamma correction. I can't come up with a situation where this would cause problems but the ioq3 devs don't seem interested in fixing it so I thought I would share the fix with everyone.
patch