mirror of
https://github.com/FreeRDP/FreeRDP.git
synced 2025-06-03 00:00:20 +00:00
[client,sdl] use constexpr instead of defines
This commit is contained in:
parent
c509aabc08
commit
02b98e9287
@ -33,8 +33,8 @@
|
|||||||
#include <freerdp/log.h>
|
#include <freerdp/log.h>
|
||||||
#define TAG CLIENT_TAG("sdl.disp")
|
#define TAG CLIENT_TAG("sdl.disp")
|
||||||
|
|
||||||
#define RESIZE_MIN_DELAY 200 /* minimum delay in ms between two resizes */
|
static constexpr UINT64 RESIZE_MIN_DELAY = 200; /* minimum delay in ms between two resizes */
|
||||||
#define MAX_RETRIES 5
|
static constexpr unsigned MAX_RETRIES = 5;
|
||||||
|
|
||||||
BOOL sdlDispContext::settings_changed()
|
BOOL sdlDispContext::settings_changed()
|
||||||
{
|
{
|
||||||
|
@ -33,8 +33,8 @@
|
|||||||
#include <freerdp/log.h>
|
#include <freerdp/log.h>
|
||||||
#define TAG CLIENT_TAG("sdl.disp")
|
#define TAG CLIENT_TAG("sdl.disp")
|
||||||
|
|
||||||
#define RESIZE_MIN_DELAY 200 /* minimum delay in ms between two resizes */
|
static constexpr UINT64 RESIZE_MIN_DELAY = 200; /* minimum delay in ms between two resizes */
|
||||||
#define MAX_RETRIES 5
|
static constexpr unsigned MAX_RETRIES = 5;
|
||||||
|
|
||||||
BOOL sdlDispContext::settings_changed()
|
BOOL sdlDispContext::settings_changed()
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user