diff options
author | ReinUsesLisp <reinuseslisp@airmail.cc> | 2019-12-30 04:37:35 +0100 |
---|---|---|
committer | ReinUsesLisp <reinuseslisp@airmail.cc> | 2020-02-28 21:56:42 +0100 |
commit | 3c22bd92d878fcfe7b710e84b478b962fd325417 (patch) | |
tree | fb73c00d5e678b061e539606252d86abc91cb784 /src/video_core/renderer_opengl/renderer_opengl.cpp | |
parent | gl_state_tracker: Implement dirty flags for polygon offsets (diff) | |
download | yuzu-3c22bd92d878fcfe7b710e84b478b962fd325417.tar yuzu-3c22bd92d878fcfe7b710e84b478b962fd325417.tar.gz yuzu-3c22bd92d878fcfe7b710e84b478b962fd325417.tar.bz2 yuzu-3c22bd92d878fcfe7b710e84b478b962fd325417.tar.lz yuzu-3c22bd92d878fcfe7b710e84b478b962fd325417.tar.xz yuzu-3c22bd92d878fcfe7b710e84b478b962fd325417.tar.zst yuzu-3c22bd92d878fcfe7b710e84b478b962fd325417.zip |
Diffstat (limited to 'src/video_core/renderer_opengl/renderer_opengl.cpp')
-rw-r--r-- | src/video_core/renderer_opengl/renderer_opengl.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/video_core/renderer_opengl/renderer_opengl.cpp b/src/video_core/renderer_opengl/renderer_opengl.cpp index 630406044..1be7e491a 100644 --- a/src/video_core/renderer_opengl/renderer_opengl.cpp +++ b/src/video_core/renderer_opengl/renderer_opengl.cpp @@ -195,7 +195,7 @@ layout (location = 0) out vec4 color; layout (binding = 0) uniform sampler2D color_texture; void main() { - color = texture(color_texture, frag_tex_coord); + color = vec4(texture(color_texture, frag_tex_coord).rgb, 1.0f); } )"; @@ -600,7 +600,6 @@ void RendererOpenGL::DrawScreen(const Layout::FramebufferLayout& layout) { glDisable(GL_FRAMEBUFFER_SRGB); } glDisable(GL_COLOR_LOGIC_OP); - glDisable(GL_ALPHA_TEST); glDisable(GL_DEPTH_TEST); glDisable(GL_STENCIL_TEST); glDisable(GL_POLYGON_OFFSET_FILL); |