diff options
author | bunnei <bunneidev@gmail.com> | 2018-09-01 08:42:43 +0200 |
---|---|---|
committer | bunnei <bunneidev@gmail.com> | 2018-09-08 08:53:37 +0200 |
commit | 030676b95d8f0c0cd6c288f59daf94bbda6c7133 (patch) | |
tree | c49f4fc4b5d797b7af730c8292555a748250ab41 /src/video_core/renderer_opengl/gl_rasterizer.cpp | |
parent | gl_rasterizer_cache: Remove unused DownloadGLTexture. (diff) | |
download | yuzu-030676b95d8f0c0cd6c288f59daf94bbda6c7133.tar yuzu-030676b95d8f0c0cd6c288f59daf94bbda6c7133.tar.gz yuzu-030676b95d8f0c0cd6c288f59daf94bbda6c7133.tar.bz2 yuzu-030676b95d8f0c0cd6c288f59daf94bbda6c7133.tar.lz yuzu-030676b95d8f0c0cd6c288f59daf94bbda6c7133.tar.xz yuzu-030676b95d8f0c0cd6c288f59daf94bbda6c7133.tar.zst yuzu-030676b95d8f0c0cd6c288f59daf94bbda6c7133.zip |
Diffstat (limited to 'src/video_core/renderer_opengl/gl_rasterizer.cpp')
-rw-r--r-- | src/video_core/renderer_opengl/gl_rasterizer.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/video_core/renderer_opengl/gl_rasterizer.cpp b/src/video_core/renderer_opengl/gl_rasterizer.cpp index d5bbfbd1c..5deee20dd 100644 --- a/src/video_core/renderer_opengl/gl_rasterizer.cpp +++ b/src/video_core/renderer_opengl/gl_rasterizer.cpp @@ -700,6 +700,7 @@ u32 RasterizerOpenGL::SetupTextures(Maxwell::ShaderStage stage, Shader& shader, Surface surface = res_cache.GetTextureSurface(texture); if (surface != nullptr) { state.texture_units[current_bindpoint].texture = surface->Texture().handle; + state.texture_units[current_bindpoint].target = surface->Target(); state.texture_units[current_bindpoint].swizzle.r = MaxwellToGL::SwizzleSource(texture.tic.x_source); state.texture_units[current_bindpoint].swizzle.g = |