mirror of
https://github.com/Lime3DS/Lime3DS.git
synced 2024-11-13 13:35:14 +01:00
Merge pull request #2495 from Kloen/killing-warnings-chain-of-memories
video_core: Removed unused type alias
This commit is contained in:
commit
98c71c6a0d
@ -716,8 +716,6 @@ void RasterizerOpenGL::FlushAndInvalidateRegion(PAddr addr, u32 size) {
|
|||||||
|
|
||||||
bool RasterizerOpenGL::AccelerateDisplayTransfer(const GPU::Regs::DisplayTransferConfig& config) {
|
bool RasterizerOpenGL::AccelerateDisplayTransfer(const GPU::Regs::DisplayTransferConfig& config) {
|
||||||
MICROPROFILE_SCOPE(OpenGL_Blits);
|
MICROPROFILE_SCOPE(OpenGL_Blits);
|
||||||
using PixelFormat = CachedSurface::PixelFormat;
|
|
||||||
using SurfaceType = CachedSurface::SurfaceType;
|
|
||||||
|
|
||||||
CachedSurface src_params;
|
CachedSurface src_params;
|
||||||
src_params.addr = config.GetPhysicalInputAddress();
|
src_params.addr = config.GetPhysicalInputAddress();
|
||||||
|
@ -172,7 +172,6 @@ bool RasterizerCacheOpenGL::TryBlitSurfaces(CachedSurface* src_surface,
|
|||||||
const MathUtil::Rectangle<int>& src_rect,
|
const MathUtil::Rectangle<int>& src_rect,
|
||||||
CachedSurface* dst_surface,
|
CachedSurface* dst_surface,
|
||||||
const MathUtil::Rectangle<int>& dst_rect) {
|
const MathUtil::Rectangle<int>& dst_rect) {
|
||||||
using SurfaceType = CachedSurface::SurfaceType;
|
|
||||||
|
|
||||||
if (!CachedSurface::CheckFormatsBlittable(src_surface->pixel_format,
|
if (!CachedSurface::CheckFormatsBlittable(src_surface->pixel_format,
|
||||||
dst_surface->pixel_format)) {
|
dst_surface->pixel_format)) {
|
||||||
|
Loading…
Reference in New Issue
Block a user