mirror of
https://github.com/izzy2lost/libultraship.git
synced 2026-06-19 01:16:13 -07:00
[DX, Mac] Allow Viewports to translate above the top of the screen (#985)
* Update gfx_direct3d11.cpp * Update gfx_metal.cpp * Update gfx_direct3d_common.h * Update gfx_direct3d11.cpp * Update gfx_metal.h * Update gfx_metal.cpp
This commit is contained in:
@@ -163,8 +163,7 @@ class GfxRenderingAPIDX11 final : public GfxRenderingAPI {
|
||||
|
||||
struct ShaderProgramD3D11* mShaderProgram;
|
||||
|
||||
// uint32_t current_width, current_height;
|
||||
uint32_t mRenderTargetHeight;
|
||||
int32_t mRenderTargetHeight;
|
||||
int mCurrentFramebuffer;
|
||||
FilteringMode mCurrentFilterMode = FILTER_NONE;
|
||||
|
||||
|
||||
@@ -203,7 +203,7 @@ class GfxRenderingAPIMetal final : public GfxRenderingAPI {
|
||||
int mCurrentTile;
|
||||
uint32_t mCurrentTextureIds[SHADER_MAX_TEXTURES];
|
||||
|
||||
uint32_t mRenderTargetHeight;
|
||||
int32_t mRenderTargetHeight;
|
||||
int mCurrentFramebuffer;
|
||||
size_t mCurrentVertexBufferOffset;
|
||||
FilteringMode mCurrentFilterMode = FILTER_THREE_POINT;
|
||||
|
||||
Reference in New Issue
Block a user