[quake3-bugzilla] [Bug 4954] Misalignment in screenshot and video frame capture in some screen resolution
bugzilla-daemon at icculus.org
bugzilla-daemon at icculus.org
Sun Apr 17 08:54:43 EDT 2011
https://bugzilla.icculus.org/show_bug.cgi?id=4954
--- Comment #1 from Guillaume Bougard <bougard.g at gmail.com> 2011-04-17 08:54:42 EDT ---
Created attachment 2662
--> https://bugzilla.icculus.org/attachment.cgi?id=2662
Fix #4954 with perfect screenshots
I tested with this patch and it works perfectly now.
Setting GL_PACK_ALIGNMENT to 1 is the recommended value I found for screenshot.
I choose to store the current GL_PACK_ALIGNMENT value to set it again after the
glReadPixels call even if it seems the value is always 4 because who knows what
value will be set by default in the future.
Téquila from Smokin'Guns Team
--
Configure bugmail: https://bugzilla.icculus.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
More information about the quake3-bugzilla
mailing list