M_Print(96, video_cursor_table[t] + 8, va(vabuf, sizeof(vabuf), "Type: %s", menu_video_resolutions[menu_video_resolution].type));
t++;
- // Bits per pixel
- M_Print(16, video_cursor_table[t], " Bits per pixel");
- M_Print(220, video_cursor_table[t], (vid_bitsperpixel.integer == 32) ? "32" : "16");
- t++;
-
- // Bits per pixel
+ // Antialiasing
M_Print(16, video_cursor_table[t], " Antialiasing");
M_DrawSlider(220, video_cursor_table[t], vid_samples.value, 1, 32);
t++;
M_DrawSlider(220, video_cursor_table[t], gl_picmip.value, 3, 0);
t++;
- M_ItemPrint(16, video_cursor_table[t], " Texture Compression", vid.support.arb_texture_compression);
+ M_ItemPrint(16, video_cursor_table[t], " Texture Compression", true);
M_DrawCheckbox(220, video_cursor_table[t], gl_texturecompression.integer);
t++;
break;
}
}
- else if (video_cursor == t++)
- Cvar_SetValueQuick (&vid_bitsperpixel, (vid_bitsperpixel.integer == 32) ? 16 : 32);
else if (video_cursor == t++)
Cvar_SetValueQuick (&vid_samples, bound(1, vid_samples.value * (dir > 0 ? 2 : 0.5), 32));
else if (video_cursor == t++)