rename UpdateViewport to SetViewport like all others setters in RenderBase.h

This commit is contained in:
degasus
2014-02-04 10:45:38 +01:00
parent 3cd6918dec
commit 5a660c27bc
7 changed files with 14 additions and 19 deletions

View File

@ -57,6 +57,7 @@ public:
virtual void SetLineWidth() = 0;
virtual void SetSamplerState(int stage,int texindex) = 0;
virtual void SetInterlacingMode() = 0;
virtual void SetViewport() = 0;
virtual void ApplyState(bool bUseDstAlpha) = 0;
virtual void RestoreState() = 0;
@ -107,8 +108,6 @@ public:
// Finish up the current frame, print some stats
virtual void Swap(u32 xfbAddr, u32 fbWidth, u32 fbHeight, const EFBRectangle& rc,float Gamma = 1.0f) = 0;
virtual void UpdateViewport() = 0;
virtual bool SaveScreenshot(const std::string &filename, const TargetRectangle &rc) = 0;
static unsigned int GetPrevPixelFormat() { return prev_efb_format; }
@ -160,4 +159,5 @@ private:
extern Renderer *g_renderer;
void UpdateViewport();
extern void SetViewport();