mirror of
https://github.com/encounter/aurora.git
synced 2026-07-09 18:19:33 -07:00
c05e7aace1
This is a breaking change: `GXSetViewport`, `GXSetScissor`, `GXSetTexCopySrc`, `GXSetTexCopyDst` now accept logical coords relative to the `VIConfigure` EFB size. `GXSetViewportRender` and `GXSetScissorRender` are used to override the scaled viewport/scissor from the logical coords.
13 lines
243 B
C++
13 lines
243 B
C++
#pragma once
|
|
|
|
#include <dolphin/gx/GXStruct.h>
|
|
|
|
#include <cstdint>
|
|
|
|
#include <aurora/math.hpp>
|
|
|
|
namespace aurora::vi {
|
|
void configure(const GXRenderModeObj* rm) noexcept;
|
|
Vec2<uint32_t> configured_fb_size() noexcept;
|
|
} // namespace aurora::vi
|