mirror of
https://github.com/moonlight-stream/moonlight-qt
synced 2024-12-13 21:02:28 +00:00
16 lines
291 B
C++
16 lines
291 B
C++
#pragma once
|
|
|
|
#include <SDL.h>
|
|
|
|
class StreamUtils
|
|
{
|
|
public:
|
|
static
|
|
void scaleSourceToDestinationSurface(SDL_Rect* src, SDL_Rect* dst);
|
|
|
|
static
|
|
bool getRealDesktopMode(int displayIndex, SDL_DisplayMode* mode);
|
|
|
|
static
|
|
int getDisplayRefreshRate(SDL_Window* window);
|
|
};
|