summaryrefslogtreecommitdiffstats
path: root/src/video_core/renderer_opengl/present/smaa.cpp
diff options
context:
space:
mode:
authorLiam <byteslice@airmail.cc>2024-01-15 21:08:21 +0100
committerLiam <byteslice@airmail.cc>2024-01-31 17:27:21 +0100
commitd4de04584f14f3ea8fde4cd79102b887c084fbc2 (patch)
tree72581b4240726f72d769319f3b5e1b2ece6c8e58 /src/video_core/renderer_opengl/present/smaa.cpp
parentrenderer_opengl: move out ownership of FSR resources (diff)
downloadyuzu-d4de04584f14f3ea8fde4cd79102b887c084fbc2.tar
yuzu-d4de04584f14f3ea8fde4cd79102b887c084fbc2.tar.gz
yuzu-d4de04584f14f3ea8fde4cd79102b887c084fbc2.tar.bz2
yuzu-d4de04584f14f3ea8fde4cd79102b887c084fbc2.tar.lz
yuzu-d4de04584f14f3ea8fde4cd79102b887c084fbc2.tar.xz
yuzu-d4de04584f14f3ea8fde4cd79102b887c084fbc2.tar.zst
yuzu-d4de04584f14f3ea8fde4cd79102b887c084fbc2.zip
Diffstat (limited to '')
-rw-r--r--src/video_core/renderer_opengl/present/smaa.cpp6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/video_core/renderer_opengl/present/smaa.cpp b/src/video_core/renderer_opengl/present/smaa.cpp
index a9a0eb6c6..de7f6e502 100644
--- a/src/video_core/renderer_opengl/present/smaa.cpp
+++ b/src/video_core/renderer_opengl/present/smaa.cpp
@@ -36,13 +36,7 @@ SMAA::SMAA(u32 width, u32 height) {
SmaaShader(HostShaders::SMAA_NEIGHBORHOOD_BLENDING_FRAG, GL_FRAGMENT_SHADER);
glBindBuffer(GL_PIXEL_UNPACK_BUFFER, 0);
- glPixelStorei(GL_UNPACK_SWAP_BYTES, GL_FALSE);
- glPixelStorei(GL_UNPACK_LSB_FIRST, GL_FALSE);
glPixelStorei(GL_UNPACK_ROW_LENGTH, 0);
- glPixelStorei(GL_UNPACK_IMAGE_HEIGHT, 0);
- glPixelStorei(GL_UNPACK_SKIP_PIXELS, 0);
- glPixelStorei(GL_UNPACK_SKIP_ROWS, 0);
- glPixelStorei(GL_UNPACK_ALIGNMENT, 4);
area_tex.Create(GL_TEXTURE_2D);
glTextureStorage2D(area_tex.handle, 1, GL_RG8, AREATEX_WIDTH, AREATEX_HEIGHT);