mirror of
https://github.com/moonlight-stream/moonlight-qt
synced 2024-11-10 21:54:17 +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);
|
|
};
|