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
commitd4de04584f14f3ea8fde4cd79102b887c084fbc2 (patch)
tree72581b4240726f72d769319f3b5e1b2ece6c8e58 /src/video_core/renderer_opengl/present/smaa.cpp
parentdd2918efd83b586861ebc463dfee20c35e9d3bb3 (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 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);