Skip to content

VERY experimental Nintendo Switch 2 emulator

C++

video_core/utils: Remove unused variables in GetMortonOffset

Lioncashdc587fa295a9
diff --git a/src/video_core/utils.h b/src/video_core/utils.h
index ffb3e73a3c..4fa60a10ed 100644
--- a/src/video_core/utils.h
+++ b/src/video_core/utils.h
@@ -72,11 +72,8 @@ static inline u32 GetMortonOffset(u32 x, u32 y, u32 bytes_per_pixel) {
//
// This pattern is what's called Z-order curve, or Morton order.
- const unsigned int block_width = 8;
const unsigned int block_height = 8;
-
const unsigned int coarse_x = x & ~7;
- const unsigned int coarse_y = y & ~7;
u32 i = VideoCore::MortonInterleave(x, y);