From c69f258e4260e0ca76021a3d08823ab1782b022c Mon Sep 17 00:00:00 2001 From: Toni Spets Date: Tue, 5 Jul 2011 21:45:39 +0300 Subject: [PATCH] Default maxfps to 0, add ogl notices to comments --- main.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/main.c b/main.c index 380a0cc..ce53dba 100644 --- a/main.c +++ b/main.c @@ -583,10 +583,10 @@ HRESULT WINAPI DirectDrawCreate(GUID FAR* lpGUID, LPDIRECTDRAW FAR* lplpDD, IUnk "bpp=0\n" "windowed=true\n" "; real rendering rate, -1 = screen rate, 0 = unlimited, n = cap\n" - "maxfps=120\n" - "; vertical synchronization, enable if you get tearing\n" + "maxfps=0\n" + "; vertical synchronization, enable if you get tearing (OpenGL only)\n" "vsync=false\n" - "; scaling filter, nearest = sharp, linear = smooth\n" + "; scaling filter, nearest = sharp, linear = smooth (OpenGL only)\n" "filter=nearest\n" "; automatic mouse sensitivity scaling\n" "adjmouse=false\n" @@ -612,7 +612,7 @@ HRESULT WINAPI DirectDrawCreate(GUID FAR* lpGUID, LPDIRECTDRAW FAR* lplpDD, IUnk This->windowed = TRUE; } - This->render.maxfps = GetPrivateProfileIntA("ddraw", "maxfps", 120, ini_path); + This->render.maxfps = GetPrivateProfileIntA("ddraw", "maxfps", 0, ini_path); This->render.width = GetPrivateProfileIntA("ddraw", "width", 640, ini_path); if(This->render.width < 640) {