mirror of
https://git.code.sf.net/p/quake/newtree
synced 2025-05-30 16:50:48 +00:00
the big cvar value -> int_val audit. seems to work ok
This commit is contained in:
parent
4478b82af4
commit
2682888425
50 changed files with 332 additions and 332 deletions
|
@ -392,12 +392,12 @@ void R_TranslatePlayerSkin (int playernum)
|
|||
#endif
|
||||
|
||||
// FIXME deek: This 512x256 limit sucks!
|
||||
scaled_width = min(gl_max_size->value, 512);
|
||||
scaled_height = min(gl_max_size->value, 256);
|
||||
scaled_width = min(gl_max_size->int_val, 512);
|
||||
scaled_height = min(gl_max_size->int_val, 256);
|
||||
|
||||
// allow users to crunch sizes down even more if they want
|
||||
scaled_width >>= (int)gl_playermip->value;
|
||||
scaled_height >>= (int)gl_playermip->value;
|
||||
scaled_width >>= gl_playermip->int_val;
|
||||
scaled_height >>= gl_playermip->int_val;
|
||||
|
||||
if (VID_Is8bit()) { // 8bit texture upload
|
||||
byte *out2;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue