Bug 5044 - Incorrect comment about number of MAX_SHADERS bits
Status: RESOLVED FIXED
Alias: None
Product: ioquake3
Classification: Unclassified
Component: Misc
Version: GIT MASTER
Hardware: All All
: P3 minor
Assignee: Zachary J. Slater
QA Contact: ioquake3 bugzilla mailing list
URL:
Depends on:
Blocks:
 
Reported: 2011-06-15 13:46 EDT by Zack Middleton
Modified: 2011-06-16 18:30:17 EDT
1 user (show)

See Also:


Attachments
Fix a comment, move a comment, define number of shader bits, check if too many bits (1.52 KB, patch)
2011-06-15 13:46 EDT, Zack Middleton

Description Zack Middleton 2011-06-15 13:46:26 EDT
Created attachment 2785 [details]
Fix a comment, move a comment, define number of shader bits, check if too many bits

tr_locals.h incorrectly says MAX_SHADERS is 12 bits when it is actually 14 bits. Patch fixes some comments, adds a define for number of shader bits, checks if sorting has to many bits.
Comment 1 Thilo Schulz 2011-06-16 18:30:17 EDT
Noteworhy is that there's still one bit free in the sorting mechanism.
As to the patch that's valid so i applied r2039.