mirror of
https://github.com/coop-deluxe/sm64coopdx.git
synced 2024-11-22 03:55:11 +00:00
Sanity check MSAA
This commit is contained in:
parent
5ba48c0329
commit
627ea49c14
1 changed files with 3 additions and 0 deletions
|
@ -6,6 +6,7 @@
|
|||
#include <assert.h>
|
||||
#include <ctype.h>
|
||||
|
||||
#include "pc_main.h"
|
||||
#include "platform.h"
|
||||
#include "configfile.h"
|
||||
#include "cliopts.h"
|
||||
|
@ -683,6 +684,8 @@ NEXT_OPTION:
|
|||
|
||||
fs_close(file);
|
||||
|
||||
if ((int)configWindow.msaa > WAPI.get_max_msaa()) { configWindow.msaa = WAPI.get_max_msaa(); }
|
||||
|
||||
if (configFrameLimit < 30) { configFrameLimit = 30; }
|
||||
if (configFrameLimit > 3000) { configFrameLimit = 3000; }
|
||||
|
||||
|
|
Loading…
Reference in a new issue