diff options
author | Subv <subv2112@gmail.com> | 2018-03-27 04:54:16 +0200 |
---|---|---|
committer | James Rowe <jroweboy@gmail.com> | 2018-04-07 04:44:46 +0200 |
commit | b0ca330e149b5f1609980a8167faa0c363066fd2 (patch) | |
tree | 8ded3061ecb0cacf79e0f4b5d192c8fdddd09de4 /src/video_core/renderer_opengl/gl_rasterizer.h | |
parent | GL: Bind the textures to the shaders used for drawing. (diff) | |
download | yuzu-b0ca330e149b5f1609980a8167faa0c363066fd2.tar yuzu-b0ca330e149b5f1609980a8167faa0c363066fd2.tar.gz yuzu-b0ca330e149b5f1609980a8167faa0c363066fd2.tar.bz2 yuzu-b0ca330e149b5f1609980a8167faa0c363066fd2.tar.lz yuzu-b0ca330e149b5f1609980a8167faa0c363066fd2.tar.xz yuzu-b0ca330e149b5f1609980a8167faa0c363066fd2.tar.zst yuzu-b0ca330e149b5f1609980a8167faa0c363066fd2.zip |
Diffstat (limited to '')
-rw-r--r-- | src/video_core/renderer_opengl/gl_rasterizer.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/video_core/renderer_opengl/gl_rasterizer.h b/src/video_core/renderer_opengl/gl_rasterizer.h index ba2113921..d868bf421 100644 --- a/src/video_core/renderer_opengl/gl_rasterizer.h +++ b/src/video_core/renderer_opengl/gl_rasterizer.h @@ -110,6 +110,9 @@ private: void BindFramebufferSurfaces(const Surface& color_surface, const Surface& depth_surface, bool has_stencil); + /// Binds the required textures to OpenGL before drawing a batch. + void BindTextures(); + /// Syncs the viewport to match the guest state void SyncViewport(const MathUtil::Rectangle<u32>& surfaces_rect, u16 res_scale); |