aboutsummaryrefslogtreecommitdiff
path: root/src/video_core/renderer_opengl/present/smaa.cpp
diff options
context:
space:
mode:
authorLiam <byteslice@airmail.cc>2024-01-15 15:08:21 -0500
committerLiam <byteslice@airmail.cc>2024-01-31 11:27:21 -0500
commit2a314f9e2eebd10141b6c9329f4ed482edea3f1a (patch)
tree72581b4240726f72d769319f3b5e1b2ece6c8e58 /src/video_core/renderer_opengl/present/smaa.cpp
parent64eb14d45aea8cc9037ac3b1d0abbdc3c55e7065 (diff)
renderer_opengl: split up blit screen resources into antialias and window adapt passes
Diffstat (limited to 'src/video_core/renderer_opengl/present/smaa.cpp')
-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 a9a0eb6c69..de7f6e5021 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);