Create new utility function for scaling with aspect ratio and use it for DXVA2

This commit is contained in:
Cameron Gutman committed 2018-08-04 22:22:15 -07:00
1 parent b076744f00
commit 5cbb38091b
4 files changed
+49 -18

No files matched your search

+10
View File
@@ -0,0 +1,10 @@
#pragma once
#include <SDL.h>
class StreamUtils
{
public:
static
void scaleSourceToDestinationSurface(SDL_Rect* src, SDL_Rect* dst);
};