[Bug 3956] New: Screenshots are never gamma corrected when in windowed mode.

bugzilla-daemon at icculus.org bugzilla-daemon at icculus.org
Fri Feb 6 16:57:29 EST 2009


http://bugzilla.icculus.org/show_bug.cgi?id=3956

           Summary: Screenshots are never gamma corrected when in windowed
                    mode.
           Product: Quake 3
           Version: unspecified
          Platform: PC
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P3
         Component: Video
        AssignedTo: zakk at icculus.org
        ReportedBy: thisisformyjunk at gmail.com
         QAContact: quake3-bugzilla at icculus.org


One of the conditions to use gamma correction for all of the various screenshot
functions is tr.overbrightBits>0
When in windowed mode tr.overbrightBits is forced to 0. So gamma correction is
not done. There is no reason to check tr.overbrightBits before doing gamma
correction since you can have increased gamma and it still be 0.

If you remove this, gamma correction works as expected whether or not you are
in windowed or fullscreen, or have overbrightBits on or off.

here is a patch, it is only 4 lines that need to be changed.
http://dev.randomkeywhacking.com/viewvc/trunk/src/renderer/tr_init.c?r1=266&r2=265&pathrev=266&root=trepidus&view=patch


-- 
Configure bugmail: http://bugzilla.icculus.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug, or are watching the QA contact.



More information about the quake3-bugzilla mailing list