diff options
| author | Mnikolenko Productengine <mnikolenko@productengine.com> | 2021-11-09 17:17:49 +0200 | 
|---|---|---|
| committer | Mnikolenko Productengine <mnikolenko@productengine.com> | 2021-11-09 17:17:49 +0200 | 
| commit | 768b7a4d33b64dc3e9d7f7c0c384bb2aa37b458b (patch) | |
| tree | 9f13912e908ee4b4625f2537a0ccccbd143009b0 /indra/llwindow/llwindow.cpp | |
| parent | b6afa7f7dd5eb4f6df9580a25fbffb491ccef921 (diff) | |
SL-16330 Clean up vertical sync handling, add to UI
Diffstat (limited to 'indra/llwindow/llwindow.cpp')
| -rw-r--r-- | indra/llwindow/llwindow.cpp | 12 | 
1 files changed, 6 insertions, 6 deletions
| diff --git a/indra/llwindow/llwindow.cpp b/indra/llwindow/llwindow.cpp index 67ef98d7b3..f4678a70c5 100644 --- a/indra/llwindow/llwindow.cpp +++ b/indra/llwindow/llwindow.cpp @@ -403,7 +403,7 @@ LLWindow* LLWindowManager::createWindow(  	const std::string& title, const std::string& name, S32 x, S32 y, S32 width, S32 height, U32 flags,  	BOOL fullscreen,   	BOOL clearBg, -	BOOL disable_vsync, +	BOOL enable_vsync,  	BOOL use_gl,  	BOOL ignore_pixel_depth,  	U32 fsaa_samples) @@ -415,26 +415,26 @@ LLWindow* LLWindowManager::createWindow(  #if LL_MESA_HEADLESS  		new_window = new LLWindowMesaHeadless(callbacks,  			title, name, x, y, width, height, flags,  -			fullscreen, clearBg, disable_vsync, use_gl, ignore_pixel_depth); +			fullscreen, clearBg, enable_vsync, use_gl, ignore_pixel_depth);  #elif LL_SDL  		new_window = new LLWindowSDL(callbacks,  			title, x, y, width, height, flags,  -			fullscreen, clearBg, disable_vsync, use_gl, ignore_pixel_depth, fsaa_samples); +			fullscreen, clearBg, enable_vsync, use_gl, ignore_pixel_depth, fsaa_samples);  #elif LL_WINDOWS  		new_window = new LLWindowWin32(callbacks,  			title, name, x, y, width, height, flags,  -			fullscreen, clearBg, disable_vsync, use_gl, ignore_pixel_depth, fsaa_samples); +			fullscreen, clearBg, enable_vsync, use_gl, ignore_pixel_depth, fsaa_samples);  #elif LL_DARWIN  		new_window = new LLWindowMacOSX(callbacks,  			title, name, x, y, width, height, flags,  -			fullscreen, clearBg, disable_vsync, use_gl, ignore_pixel_depth, fsaa_samples); +			fullscreen, clearBg, enable_vsync, use_gl, ignore_pixel_depth, fsaa_samples);  #endif  	}  	else  	{  		new_window = new LLWindowHeadless(callbacks,  			title, name, x, y, width, height, flags,  -			fullscreen, clearBg, disable_vsync, use_gl, ignore_pixel_depth); +			fullscreen, clearBg, enable_vsync, use_gl, ignore_pixel_depth);  	}  	if (FALSE == new_window->isValid()) | 
