Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Framerate / Refreshrate #12

Open
OneMeanDragon opened this issue Oct 15, 2021 · 0 comments
Open

Framerate / Refreshrate #12

OneMeanDragon opened this issue Oct 15, 2021 · 0 comments

Comments

@OneMeanDragon
Copy link

OneMeanDragon commented Oct 15, 2021

in public sealed class GameEngine : IGameEngine

//think i broke the code tags lol.
private const float fixedFramesPerSecond = 60f;
private bool isFrameRateCapped = true;

These 2 property's need to be set to public, well the fixed frames per second needs to be public, if we decided to create the renderer as such
mRenderer = mEngine.RendererFactory.CreateRenderer(mWindow, -1, RendererFlags.RendererAccelerated)
this should completely nullify the limiter (which it doesn't), however if you make that frame rate public we can set it to whatever we would like 60/122/244 etc. etc. as the moniters and whatnot get better so were not set by default to a monitor from the early 2000s lol.
Most games these days you can edit those values on the fly through in-game video menus.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant