mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-30 20:58:54 +00:00
BPFunctions: Move GX viewport conversion to VideoCommon
This commit is contained in:
parent
a2d2a0a356
commit
5359396099
12 changed files with 111 additions and 165 deletions
|
@ -77,7 +77,10 @@ public:
|
|||
virtual void SetSamplerState(u32 index, const SamplerState& state) {}
|
||||
virtual void UnbindTexture(const AbstractTexture* texture) {}
|
||||
virtual void SetInterlacingMode() {}
|
||||
virtual void SetViewport() {}
|
||||
virtual void SetViewport(float x, float y, float width, float height, float near_depth,
|
||||
float far_depth)
|
||||
{
|
||||
}
|
||||
virtual void SetFullscreen(bool enable_fullscreen) {}
|
||||
virtual bool IsFullscreen() const { return false; }
|
||||
virtual void ApplyState() {}
|
||||
|
@ -184,8 +187,6 @@ protected:
|
|||
|
||||
std::unique_ptr<PostProcessingShaderImplementation> m_post_processor;
|
||||
|
||||
static const float GX_MAX_DEPTH;
|
||||
|
||||
void* m_surface_handle = nullptr;
|
||||
void* m_new_surface_handle = nullptr;
|
||||
Common::Flag m_surface_needs_change;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue